... | ... | @@ -7,7 +7,7 @@ This EEGLAB extension provides an easy to use interface for generating script pi |
|
|
|
|
|
* **History Batch File (.htb)** is a matlab code skeleton that contains all of the function framework but all of the specifics are [swap_strings]. Once created they have only their specifics modified by adjusting a batch configuration file.
|
|
|
* **Pipeline** is a series of *History Batch File* scripts that are linked up so that the output of one is the input for the next. They can streamline what would be multiple processes into into one single batch execution.
|
|
|
* **Script (.m)** is also a matlab script but has a .m file type. It looks like a *History Batch File* but has been successfully string swapped according to the configuration file and its specifics are unique for each data file. These contain the actual code that matlab will be preforming.
|
|
|
* **Script (.m)** is also a matlab script but has a .m file type. It looks like a *History Batch File* but has been successfully string swapped according to the configuration file so that its specifics are unique for each data file. These contain the actual code that matlab will be preforming.
|
|
|
***
|
|
|
|
|
|
**Example:**
|
... | ... | @@ -104,7 +104,7 @@ toc |
|
|
```
|
|
|
|
|
|
## Building Manual Steps into your Pipeline
|
|
|
Running a pipeline with manual steps is also possible. In the example below the batch will automatically open the file and do a plot. It will then wait for the user to type in the *ms* time they would like to investigate. It then proceeds to open that time frame for inspection. Once the first plot is closed, the next .m file will run loading the next dataset.
|
|
|
Running a pipeline with manual steps is also possible. In the example below the batch will automatically open the file and do a plot. It will then wait for the user to type in the *ms* time they would like to investigate. It then proceeds to open that time frame for inspection. Once the first plot is closed, the next .m file will run loading the next dataset. This aspect speeds up any manual step that differs between subjects including time frames, components, channels or locations.
|
|
|
|
|
|
```matlab
|
|
|
% LOAD DATASET FILE...
|
... | ... | @@ -117,4 +117,8 @@ h2=figure;pop_topoplot(EEG,1, ms,'[batch_dfn],[1 1]' ,0,'electrodes','labels'); |
|
|
% Stops and waits until window is closed
|
|
|
uiwait(gcf);
|
|
|
% Proceeds to next data file
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
|
|
|
If you are creating your own pipeline take a look at the [Configuration Files](https://git.sharcnet.ca/jdesjard/batch_context/wikis/configuration-files) section to learn more about changing swap string values and pipeline ordering.
|
|
|
:b: If you are following the tutorial you can go to [Run History Batch Files] to start running some jobs! |
|
|
\ No newline at end of file |