|
|
**Tables of Contents**
|
|
|
|
|
|
[[_TOC_]]
|
|
|
|
|
|
# Batch Configuration Files
|
|
|
|
|
|
We can use the graphical user interface in batch_context to create new configuration files.
|
|
|
|
|
|
With `eeglab` started from Matlab by writing the former command with `dependencies/eeglab` in the Matlab path we will see this window:
|
|
|
|
|
|

|
|
|
|
|
|
If batch_context is installed we should have an entry under `File > Batch > Batch configuration`
|
|
|
|
|
|
On the left you may press `Clear/New` and then click the '+/-' next to Miscellaneous to open the configuration. See the mouse pointer in the below image.
|
|
|
|
|
|

|
|
|
|
|
|
Saving now will give you a template if you want to edit the file with a text editor. From the GUI however we can also edit the configuration before saving and we get the correct category names for the data that is picked from groups (like exec_func).
|
|
|
|
|
|
Each field is documented in [configuration files](configuration-files) as well as more details on using the GUI. You may also click the fields in order to get the field description.
|
|
|
|
|
|
## Bandpass Configuration
|
|
|
Remember the fields we needed to set for Bandpass
|
|
|
|
|
|
* in_path - input directory
|
|
|
* low_bound_hz - high pass value
|
|
|
* high_bound_hz - low pass value
|
|
|
* out_path - output directory
|
|
|
|
|
|
Leave the `exec_func` as `ef_current_base` for now and set the `replace_string` to the following after clicking the replace_string[1] field then clicking the down arrow
|
|
|
|
|
|

|
|
|
|
|
|
```
|
|
|
[in_path],data/1_init
|
|
|
[low_bound_hz],0.1
|
|
|
[high_bound_hz,30
|
|
|
[out_path],data/2_preproc
|
|
|
```
|
|
|
|
|
|
* Set order to `1` because we have no dependencies for this job and it needs a label.
|
|
|
* Set session_init to `config/matlab.sesinit`
|
|
|
* Set m_init to `config/matlab.minit`
|
|
|
|
|
|
**Note**: With property grid like this GUI you need to click off the field you are writing in in order for the changes to take effect. Simply click another field name for example.
|
|
|
|
|
|
Save as `config/c01_bandpass.cfg`
|
|
|
|
|
|
# Context Configuration Files
|
|
|
|
|
|
For local jobs we only need to set one field for our pipeline
|
|
|
|
|
|
* log path(log) - set to `logs`
|
|
|
|
|
|
You can set this field from File > Batch > Context configuration.
|
|
|
|
|
|
You should then save it as `config/contextconfig_local.cfg`
|
|
|
|
|
|
*Updated/Verified by Brad Kennedy on 2017-08-11*
|
|
|
|
|
|
[ :arrow_up: Top of Page](home) |
|
|
\ No newline at end of file |