Difference: DocsSectionsDataSources (1 vs. 8)

Revision 816 Dec 2011 - Main.MarjoleinVanDerWaal

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Connecting Data Sources

Line: 10 to 10
  Figure 1: BrainStream is connected to data sources via a FieldTrip buffer.
Changed:
<
<
The connection between BrainStream and the FieldTrip buffer is always the same. In order to switch between data sources, you need to connect the new data source to the FieldTrip buffer. You can specify the data source in the block file.
>
>
The connection between BrainStream and the FieldTrip buffer is always the same. In order to switch between data sources, you need to connect the new data source to the FieldTrip buffer. You can do this by specifying the data source in the block file.
 

Hardware devices

Line: 30 to 30
 The connection between specific hardware devices and the FieldTrip buffer is controlled by interfacing software. For most hardware systems, the interfacing software uses a configuration file in which some acquisition-related settings are specified. For example, configuration files for the BioSemi system specify from how many channels data should be recorded, and whether the data should be downsampled. If you want to use another configuration than the default and the interfacing software supports FieldTrip's Online Data Manager, you can specify another configuration file in your block file. The configuration file specified in the block file will then be used instead of the one specified at startup. In order to do this, you must specify some settings under topic [<device>]:
[biosemi_active2]                           %the BioSemi active 2 system is used
OnlineDataManager = 1;                      %indicate that the Online Data Manager will be used
Changed:
<
<
configureFile = 'biosemi_active2_cap64.cfg; %alternative configuration file with only 64 EEG electrodes
>
>
configureFile = 'biosemi_active2_cap64.cfg; %alternative configuration file with 64 EEG electrodes
  For more information about configuration files for different acquisition systems, see the FieldTrip website.
Line: 51 to 51
 

Simulated data

When you are designing experiments, it may be useful to use simulated instead of actually recorded data. You can specify a simulated data source as follows:

Changed:
<
<
DataSources]
>
>
[DataSources]
  = 'simulate:'

<datasource> = name that you want to give the data source. In this documentation, we often call our data source 'eeg'
<device> = name of the hardware device to simulate data for

Revision 715 Dec 2011 - Main.MarjoleinVanDerWaal

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Connecting Data Sources

Line: 27 to 27
  Usually, default configuration settings will be specified for your hardware systems when they are first set up (see the Installation Guide). Most of the time you will not have to use other settings than the defaults. However, if you do want to change certain settings you can do this via the block file.
Changed:
<
<
The connection between specific hardware devices and the FieldTrip buffer is controlled by interfacing software. For most hardware systems, the interfacing software uses a configuration file in which some acquisition-related settings are specified. For example, configuration files for the BioSemi system specify from how many channels data should be recorded, and whether the data should be downsampled. In the default configuration for the BioSemi system in the MMM lab, data is recorded from 256 EEG electrodes and a number of extra channels. If you want to use another configuration than the default and the interfacing software supports FieldTrip's Online Data Manager, you can specify another configuration file in your block file. The configuration file specified in the block file will then be used instead of the one specified at startup. In order to do this, you must specify some settings under topic [<device>]:
>
>
The connection between specific hardware devices and the FieldTrip buffer is controlled by interfacing software. For most hardware systems, the interfacing software uses a configuration file in which some acquisition-related settings are specified. For example, configuration files for the BioSemi system specify from how many channels data should be recorded, and whether the data should be downsampled. If you want to use another configuration than the default and the interfacing software supports FieldTrip's Online Data Manager, you can specify another configuration file in your block file. The configuration file specified in the block file will then be used instead of the one specified at startup. In order to do this, you must specify some settings under topic [<device>]:
 
[biosemi_active2]                           %the BioSemi active 2 system is used
OnlineDataManager = 1;                      %indicate that the Online Data Manager will be used
configureFile = 'biosemi_active2_cap64.cfg; %alternative configuration file with only 64 EEG electrodes 

Revision 617 Nov 2011 - Main.MarjoleinVanDerWaal

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Connecting Data Sources

Changed:
<
<
Data sources can be hardware devices? , data files? stored on disk or simulated data? . BrainStream can connect to any of these data sources via a FieldTrip buffer.
>
>
Data sources can be hardware devices, data files stored on disk or simulated data. BrainStream can connect to any of these data sources via a FieldTrip buffer.
  DataSources.png
Line: 60 to 60
 
META FILEATTACHMENT attachment="Hardware_buffer.png" attr="" comment="" date="1321278745" name="Hardware_buffer.png" path="Hardware_buffer.png" size="66383" stream="Hardware_buffer.png" tmpFilename="/var/tmp/CGItemp56227" user="MarjoleinVanDerWaal" version="1"
META FILEATTACHMENT attachment="DataSources.png" attr="" comment="" date="1321280889" name="DataSources.png" path="DataSources.png" size="88008" stream="DataSources.png" tmpFilename="/var/tmp/CGItemp56099" user="MarjoleinVanDerWaal" version="1"
Added:
>
>
META TOPICMOVED by="MarjoleinVanDerWaal" date="1321529485" from="BrainStreamDocs.DocsSectionsHardware" to="BrainStreamDocs.DocsSectionsDataSources"

Revision 517 Nov 2011 - Main.MarjoleinVanDerWaal

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Changed:
<
<

Connecting to Data Sources

>
>

Connecting Data Sources

 
Changed:
<
<
Data sources can be hardware devices, data files stored on disk or simulated data. BrainStream can connect to any of these data sources via a FieldTrip buffer.
>
>
Data sources can be hardware devices? , data files? stored on disk or simulated data? . BrainStream can connect to any of these data sources via a FieldTrip buffer.
  DataSources.png

Figure 1: BrainStream is connected to data sources via a FieldTrip buffer.

Changed:
<
<
The connection between BrainStream and the FieldTrip buffer is always the same. In order to switch between data sources, you need to connect the new data source to the FieldTrip buffer. You can specify the necessary configuration settings in the block file.

Connecting to hardware devices

>
>
The connection between BrainStream and the FieldTrip buffer is always the same. In order to switch between data sources, you need to connect the new data source to the FieldTrip buffer. You can specify the data source in the block file.
 
Changed:
<
<
The connection between specific hardware devices and the FieldTrip buffer is controlled by interfacing software. Each acquisition system has its own interfacing software, which is called <system>2ft. For example, the software for the BioSemi acquisition system is called biosemi2ft. See the FieldTrip website for a list of hardware systems for which interfacing software is available. In BrainStream, the interfacing software is located in the FieldTrip folder: fieldtrip/realtime/acquisition/<system> (you can locate the FieldTrip folder by typing bs_folder('FIELDTRIP') in the Matlab command window).
>
>

Hardware devices

 
Changed:
<
<

Specifying hardware devices in the block file

>
>
Any acquisition system supported by the FieldTrip toolbox can be used as a data source within BrainStream. For more information about setting up hardware devices for the first time, see the Installation Guide. In the block file, you can specify a hardware device as data source as follows:
 
[DataSources]
<datasource> = '<buffer address>:<port>:<device>'   
Line: 23 to 23
 <datasource> = name that you want to give the data source. In this documentation, we often call our data source 'eeg'
<buffer address> = address of the FieldTrip buffer
<port> = port
<device> = name of the hardware device

Some examples:
eeg = 'buffer://localhost:1972:biosemi_active2'
nirs = 'buffer://localhost:1972:artinis_oxymon'
fmri = 'buffer://localhost:1972:siemens_fmri'

Changed:
<
<

Connecting to recorded data files (file proxies)

>
>

Configuring acquisition-related settings

Usually, default configuration settings will be specified for your hardware systems when they are first set up (see the Installation Guide). Most of the time you will not have to use other settings than the defaults. However, if you do want to change certain settings you can do this via the block file.

The connection between specific hardware devices and the FieldTrip buffer is controlled by interfacing software. For most hardware systems, the interfacing software uses a configuration file in which some acquisition-related settings are specified. For example, configuration files for the BioSemi system specify from how many channels data should be recorded, and whether the data should be downsampled. In the default configuration for the BioSemi system in the MMM lab, data is recorded from 256 EEG electrodes and a number of extra channels. If you want to use another configuration than the default and the interfacing software supports FieldTrip's Online Data Manager, you can specify another configuration file in your block file. The configuration file specified in the block file will then be used instead of the one specified at startup. In order to do this, you must specify some settings under topic [<device>]:

[biosemi_active2]                           %the BioSemi active 2 system is used
OnlineDataManager = 1;                      %indicate that the Online Data Manager will be used
configureFile = 'biosemi_active2_cap64.cfg; %alternative configuration file with only 64 EEG electrodes 

For more information about configuration files for different acquisition systems, see the FieldTrip website.

Recorded data files (file proxies)

It is also possible to use a data file that was recorded previously as a data source. In the block file, you can specify this as follows:

 
[DataSources]
<datasource> = '<data file>:<device>' 
Line: 31 to 46
 <datasource> = name that you want to give the data source. In this documentation, we often call our data source 'eeg'
<data file> = name of the data file
<device> = name of the hardware device with which the data was recorded

For example:
eeg = 'data/myeeg.bdf:biosemi_active2'

Deleted:
<
<

Connecting to simulated data

 
Changed:
<
<
When you are designing experiments, it may be useful to simulate the recording of data. You can do this by specifying:
>
>

Simulated data

When you are designing experiments, it may be useful to use simulated instead of actually recorded data. You can specify a simulated data source as follows:

 
DataSources]
<datasource> = 'simulate:<device>'

Revision 417 Nov 2011 - Main.MarjoleinVanDerWaal

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Connecting to Data Sources

Changed:
<
<
Data sources can be hardware devices, data files stored on disk or simulated data. BrainStream does not connect to these data sources directly, but via a FieldTrip buffer.
>
>
Data sources can be hardware devices, data files stored on disk or simulated data. BrainStream can connect to any of these data sources via a FieldTrip buffer.
  DataSources.png
Line: 13 to 13
 The connection between BrainStream and the FieldTrip buffer is always the same. In order to switch between data sources, you need to connect the new data source to the FieldTrip buffer. You can specify the necessary configuration settings in the block file.

Connecting to hardware devices

Changed:
<
<
Any hardware device supported by the FieldTrip toolbox (for a list see the FieldTrip website) can be used as a data source within BrainStream.

Interfacing software

The connection between specific hardware devices and the FieldTrip buffer is controlled by interfacing software. This sofware

>
>
The connection between specific hardware devices and the FieldTrip buffer is controlled by interfacing software. Each acquisition system has its own interfacing software, which is called <system>2ft. For example, the software for the BioSemi acquisition system is called biosemi2ft. See the FieldTrip website for a list of hardware systems for which interfacing software is available. In BrainStream, the interfacing software is located in the FieldTrip folder: fieldtrip/realtime/acquisition/<system> (you can locate the FieldTrip folder by typing bs_folder('FIELDTRIP') in the Matlab command window).
 

Specifying hardware devices in the block file

[DataSources]
Changed:
<
<
= ::
>
>
= '::'
  <datasource> = name that you want to give the data source. In this documentation, we often call our data source 'eeg'
<buffer address> = address of the FieldTrip buffer
<port> = port
<device> = name of the hardware device

Some examples:
eeg = 'buffer://localhost:1972:biosemi_active2'
nirs = 'buffer://localhost:1972:artinis_oxymon'
fmri = 'buffer://localhost:1972:siemens_fmri'

Connecting to recorded data files (file proxies)

[DataSources]
Changed:
<
<
= :
>
>
= ':'
  <datasource> = name that you want to give the data source. In this documentation, we often call our data source 'eeg'
<data file> = name of the data file
<device> = name of the hardware device with which the data was recorded
Line: 36 to 35
  When you are designing experiments, it may be useful to simulate the recording of data. You can do this by specifying:
DataSources]
Changed:
<
<
= simulate:
>
>
= 'simulate:'
  <datasource> = name that you want to give the data source. In this documentation, we often call our data source 'eeg'
<device> = name of the hardware device to simulate data for

Revision 315 Nov 2011 - Main.MarjoleinVanDerWaal

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Connecting to Data Sources

Line: 11 to 11
 Figure 1: BrainStream is connected to data sources via a FieldTrip buffer.

The connection between BrainStream and the FieldTrip buffer is always the same. In order to switch between data sources, you need to connect the new data source to the FieldTrip buffer. You can specify the necessary configuration settings in the block file.

Changed:
<
<

Specifying the data source

>
>

Connecting to hardware devices

 
Changed:
<
<
In the block file, you can specify the data source(s) that you want to use under topic DataSources and a key with the name that you want to give the data source. You must specify the data source differently depending on the type of data source.

Data source is a hardware device

>
>
Any hardware device supported by the FieldTrip toolbox (for a list see the FieldTrip website) can be used as a data source within BrainStream.

Interfacing software

The connection between specific hardware devices and the FieldTrip buffer is controlled by interfacing software. This sofware

Specifying hardware devices in the block file

 
[DataSources]
Changed:
<
<
= <ip-address>::
>
>
= ::
 
Changed:
<
<
<datasource> = name that you want to give the data source. In this documentation, we often call our data source 'eeg'
<ip-address> = IP address of the FieldTrip buffer
<port> = port
<device> = name of the hardware device
>
>
<datasource> = name that you want to give the data source. In this documentation, we often call our data source 'eeg'
<buffer address> = address of the FieldTrip buffer
<port> = port
<device> = name of the hardware device
  Some examples:
eeg = 'buffer://localhost:1972:biosemi_active2'
nirs = 'buffer://localhost:1972:artinis_oxymon'
fmri = 'buffer://localhost:1972:siemens_fmri'
Changed:
<
<

Data source is a recorded data file

>
>

Connecting to recorded data files (file proxies)

 
[DataSources]
<datasource> = <data file>:<device> 

<datasource> = name that you want to give the data source. In this documentation, we often call our data source 'eeg'
<data file> = name of the data file
<device> = name of the hardware device with which the data was recorded

For example:
eeg = 'data/myeeg.bdf:biosemi_active2'

Changed:
<
<

Data source is simulated data

>
>

Connecting to simulated data

  When you are designing experiments, it may be useful to simulate the recording of data. You can do this by specifying:
DataSources]
Line: 38 to 42
  For example:
eeg = 'simulate:biosemi_active2'
Deleted:
<
<

Settings for <datasource>

You can specify addtional settings under a topic with the name that you specified for the data source. For example, if you are using an EEG system, you may specify a cap layout here:

[eeg]           % the data source is called 'eeg'
Cap = cap64.txt % use a cap with 64 electrodes    

Settings for <device>

Supported hardware devices

System <device>
EEG
BioSemi Active 2 biosemi_active2
Neurosky Thinkgear neurosky_thinkgear
Emotiv Epoc emotiv_epoc
NIRS
Artinis Oxymon artinis_oxymon
fMRI
Siemens siemens_fmri
MEG
Siemens siemens_ctf
 
META FILEATTACHMENT attachment="Hardware_buffer.png" attr="" comment="" date="1321278745" name="Hardware_buffer.png" path="Hardware_buffer.png" size="66383" stream="Hardware_buffer.png" tmpFilename="/var/tmp/CGItemp56227" user="MarjoleinVanDerWaal" version="1"
META FILEATTACHMENT attachment="DataSources.png" attr="" comment="" date="1321280889" name="DataSources.png" path="DataSources.png" size="88008" stream="DataSources.png" tmpFilename="/var/tmp/CGItemp56099" user="MarjoleinVanDerWaal" version="1"

Revision 215 Nov 2011 - Main.MarjoleinVanDerWaal

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Changed:
<
<

Connecting to data sources

>
>

Connecting to Data Sources

 

Revision 114 Nov 2011 - Main.MarjoleinVanDerWaal

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

Connecting to data sources

Data sources can be hardware devices, data files stored on disk or simulated data. BrainStream does not connect to these data sources directly, but via a FieldTrip buffer.

DataSources.png

Figure 1: BrainStream is connected to data sources via a FieldTrip buffer.

The connection between BrainStream and the FieldTrip buffer is always the same. In order to switch between data sources, you need to connect the new data source to the FieldTrip buffer. You can specify the necessary configuration settings in the block file.

Specifying the data source

In the block file, you can specify the data source(s) that you want to use under topic DataSources and a key with the name that you want to give the data source. You must specify the data source differently depending on the type of data source.

Data source is a hardware device

[DataSources]
<datasource> = <ip-address>:<port>:<device>   

<datasource> = name that you want to give the data source. In this documentation, we often call our data source 'eeg'
<ip-address> = IP address of the FieldTrip buffer
<port> = port
<device> = name of the hardware device

Some examples:
eeg = 'buffer://localhost:1972:biosemi_active2'
nirs = 'buffer://localhost:1972:artinis_oxymon'
fmri = 'buffer://localhost:1972:siemens_fmri'

Data source is a recorded data file

[DataSources]
<datasource> = <data file>:<device> 

<datasource> = name that you want to give the data source. In this documentation, we often call our data source 'eeg'
<data file> = name of the data file
<device> = name of the hardware device with which the data was recorded

For example:
eeg = 'data/myeeg.bdf:biosemi_active2'

Data source is simulated data

When you are designing experiments, it may be useful to simulate the recording of data. You can do this by specifying:

DataSources]
<datasource> = simulate:<device>

<datasource> = name that you want to give the data source. In this documentation, we often call our data source 'eeg'
<device> = name of the hardware device to simulate data for

For example:
eeg = 'simulate:biosemi_active2'

Settings for <datasource>

You can specify addtional settings under a topic with the name that you specified for the data source. For example, if you are using an EEG system, you may specify a cap layout here:

[eeg]           % the data source is called 'eeg'
Cap = cap64.txt % use a cap with 64 electrodes    

Settings for <device>

Supported hardware devices

System <device>
EEG
BioSemi Active 2 biosemi_active2
Neurosky Thinkgear neurosky_thinkgear
Emotiv Epoc emotiv_epoc
NIRS
Artinis Oxymon artinis_oxymon
fMRI
Siemens siemens_fmri
MEG
Siemens siemens_ctf

META FILEATTACHMENT attachment="Hardware_buffer.png" attr="" comment="" date="1321278745" name="Hardware_buffer.png" path="Hardware_buffer.png" size="66383" stream="Hardware_buffer.png" tmpFilename="/var/tmp/CGItemp56227" user="MarjoleinVanDerWaal" version="1"
META FILEATTACHMENT attachment="DataSources.png" attr="" comment="" date="1321280889" name="DataSources.png" path="DataSources.png" size="88008" stream="DataSources.png" tmpFilename="/var/tmp/CGItemp56099" user="MarjoleinVanDerWaal" version="1"
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback