... | ... | @@ -4,8 +4,17 @@ |
|
|
This EEGLAB extension provides an easy to use interface for generating script pipelines and executing them on multiple data files.
|
|
|
|
|
|
# Pipeline Basics
|
|
|
text
|
|
|
![PIPLELINE_CHART](/uploads/462408d7a3e809082e2bb8f8d2ee4504/PIPLELINE_CHART.png)
|
|
|
|
|
|
**History Batch File (.htb file)** is the main script that contains [swap_strings]. It is never changed between projects and thus makes up a piece of a pipeline.
|
|
|
**Pipeline** a series of scripts that are linked up so that the output of one is the input for the next.
|
|
|
**Script (.m file)** is also a script but has a .m file type. It has been successfully string swapped and is unique for each dataset file. There is a .m file generated for each data file that the htb script needs to run on.
|
|
|
***
|
|
|
|
|
|
**Example:**
|
|
|
:b: The pipeline below is the tutorial EEGLAB_pipe_ASR_AMICA
|
|
|
![mfilecreate2](/uploads/2dd1115ad018f519d6d1cdb381e4d5a3/mfilecreate2.png)
|
|
|
This pipeline has 7 .htb scripts (yellow and red).
|
|
|
If we were to run 3 data files through this pipeline we would automatically generate 3 x 7 = 21 unique .m scripts and run them each in succession.
|
|
|
|
|
|
# Swap String
|
|
|
String swapping is an essential aspect of creating a well functioning pipeline. It works by writing the scripts filled with strings in [ ] brackets rather than values. The script will not be able to run on its own, but when using it in conjunction with the configuration file and the batch context plugin you can rapidly create unique .m scripts for each of your dataset files. You can also adjust the the script functions without permanently changing the code.
|
... | ... | |