... | ... | @@ -75,6 +75,8 @@ The table below indicates with an **x** the methods in which you can describe ea |
|
|
| Offevents | | x | x | x | x | Events that represent HED tag 'Custom/Marks/RecStop' |
|
|
|
| Inevents | | x | x | x | x | Events that represent HED tag 'Custom/Marks/InEvent' |
|
|
|
|
|
|
:so: Filling in the config file is a great way to standardise the init stage, but using the manual option becomes much more advantageous for variables that changes between subjects. For example if a couple of your files need merges but the other ones do not. Simply leave the ```merges``` and ```mergefiles``` fields empty. This will prompt your for each file so that you can adjust it as you need.
|
|
|
|
|
|
# Loading Variables
|
|
|
This next section contains a short description on each of the variables and examples of what you might want to put in the config. If you are using the configs that come with this git project, you will have 2 templates one for ESS and one for OTHER.
|
|
|
|
... | ... | @@ -111,9 +113,9 @@ Use ```[oneloc],0``` or ``` [oneloc],1 ``` in the config replace_string. If you |
|
|
|
|
|
**locs_file_name**
|
|
|
This variable is a continuation of your **oneloc** answer above. ESS capsules use the built in metadata and the location file names will be found automatically. You will have to change this if you are using OTHER.
|
|
|
* If you chose **oneloc 0** , use a naming convention in the config such as ```[batch_dfn,.,-1]_locs.elc``` see [swap strings](https://git.sharcnet.ca/bucanl_eeglab_extensions/batch_context/wikis/script-files#swap-string) for more information, in order to collect the correct file for each subject.
|
|
|
* If you chose **oneloc 0** , use a naming convention in the config such as ```'[batch_dfn,.,-1]_locs.elc'``` see [swap strings](https://git.sharcnet.ca/bucanl_eeglab_extensions/batch_context/wikis/script-files#swap-string) for more information, in order to collect the correct file for each subject.
|
|
|
|
|
|
* If you chose **oneloc 1** , write the path and file name of the montage file such as ```analysis/support/misc/BioSemi_BUCANL_7Eyes.sfp```. This file will be used for all of the subjects.
|
|
|
* If you chose **oneloc 1** , write the path and file name of the montage file such as ```'analysis/support/misc/BioSemi_BUCANL_7Eyes.sfp'```. This file will be used for all of the subjects.
|
|
|
|
|
|
If you leave the config empty ```''``` the following GUI will be displayed. Simply type the same thing as above.
|
|
|
![locfile](/uploads/d9f43b4a91af12cd236d42ba3f7ed35f/locfile.png)
|
... | ... | @@ -129,6 +131,27 @@ Note that the channels that are purged/removed are: **NotEEG_chans + Fid_chans(s |
|
|
|
|
|
***
|
|
|
|
|
|
# Merging Variables
|
|
|
|
|
|
**merges**
|
|
|
This number indicates the number of files you wish to merge together. Entering a 1 into this field will prompt you for no merges, otherwise use the number of files you are combining. If you leave this feild empty ```''``` then you will get the following GUI prompt for a number.
|
|
|
![nummerges](/uploads/9885d54325fd95c2c5bc144bbe24419c/nummerges.png)
|
|
|
|
|
|
**mergefiles**
|
|
|
This field can be left empty if you are not merging files. if you are nmergeing files leave this empty to prompt a browser to select the additional files you would like to merge to the loaded file. For example if in the end I would like to combine 8 files. I use from above ```[merges],8``` and ```[mergefiles],''``` to browse for the other **7** files. Alternatively you can use swap strings to generate the names of the files and place them in a cell array. For example, ```[mergefiles],'[batch_dfn,_,-1]_m1.bdf' '[batch_dfn,_,-1]_m2.bdf'```
|
|
|
|
|
|
![fids](/uploads/bc2b77cfce9682a2f667151421c71670/fids.png)
|
|
|
|
|
|
**change_srate**
|
|
|
This item is very similar to **NotEEG_chans** but is a list of the indices of the fiducials. ESS capsules denote this information by specifying the channel *Type* as *FID* and will automatically use these when warping , but if you are using config you will have to specify these. For example our lab uses the first three channel locations as the LPA, NZ and RPA fiducials, using```[Fid_chans],[1 2 3]``` will set these as the landmarks for warping and then remove them from EEG.data afterwards. If you the leave config empty the following GUI will be displayed. Simply type in a indices of the channels, you do not have to do [ ] brackets in the GUI as it is already expecting a matrix. For example type```1 2 3```.
|
|
|
![fids](/uploads/bc2b77cfce9682a2f667151421c71670/fids.png)
|
|
|
|
|
|
**erename**
|
|
|
This item is very similar to **NotEEG_chans** but is a list of the indices of the fiducials. ESS capsules denote this information by specifying the channel *Type* as *FID* and will automatically use these when warping , but if you are using config you will have to specify these. For example our lab uses the first three channel locations as the LPA, NZ and RPA fiducials, using```[Fid_chans],[1 2 3]``` will set these as the landmarks for warping and then remove them from EEG.data afterwards. If you the leave config empty the following GUI will be displayed. Simply type in a indices of the channels, you do not have to do [ ] brackets in the GUI as it is already expecting a matrix. For example type```1 2 3```.
|
|
|
![fids](/uploads/bc2b77cfce9682a2f667151421c71670/fids.png)
|
|
|
|
|
|
***
|
|
|
|
|
|
# Warping Variables
|
|
|
|
|
|
**Fid_chans**
|
... | ... | |