Difference between revisions of "AnyWave:CommandLine"

From WikiMEG
Jump to: navigation, search
Line 6: Line 6:
 
|-
 
|-
 
|}
 
|}
This is a way to run AnyWave in non GUI mode to process files.<br/>
+
AnyWave allows the user to process data using the command line.<br/>
 
Passing arguments to anywave can be done using the double dash syntax:<br/>
 
Passing arguments to anywave can be done using the double dash syntax:<br/>
 
<syntaxhighlight lang='bash'>
 
<syntaxhighlight lang='bash'>
Line 27: Line 27:
 
<br/>
 
<br/>
 
'''--run <plugin name>''' start processing data using a plugin. This will required to specify plugin related options.<br/>
 
'''--run <plugin name>''' start processing data using a plugin. This will required to specify plugin related options.<br/>
 +
<br/>
 +
Example:<br/>
 +
Running h² computation on a seeg data file:<br/>
 +
<syntaxhighlight lang="bash">
 +
</syntaxhighlight>

Revision as of 16:28, 2 July 2020

Command Line Operations
convert a file to BIDS Run a plugin

AnyWave allows the user to process data using the command line.
Passing arguments to anywave can be done using the double dash syntax:

anywave --arg1 <value> --arg2 <value> --arg3

An argument may have a value.
There is a list of common arguments that can be used anytime for every command line operation:
--input_file <file> set the file to process.
--input_dir <dir> sets the input directory to use.
--output_dir <dir> sets the output directory. The location where the plugin should generate its results.
--output_file <file> sets the name of the processing output file.
--output_prefix <string> sets the prefix of the output file.
--hp <value> sets the high pass filter value to use.
--lp <value> sets the low pass filter value to use.
--notch <value> sets the notch filter value to use.
--skip_bad_chanels <true|false|yes|no> default is true. Set it false to force anywave to also add bad channels to processing input.
--create_montage <bipolar_ieeg|none> create a montage from data file and use it as input for processing. bipolar_ieeg means seeg alike bipolar. none will force AnyWave to ignore .mtg file that may be present along with the data file.
--use_markers "markers" specify the markers to use for processing. sets --use_markers all_data to force AnyWave to use a global marker for the whole data as input.
--skip_markers "markers" specify the markers to avoid while processing. Can be used with use_markers. if --use_markers all_data is set, this option is ignored.

--run <plugin name> start processing data using a plugin. This will required to specify plugin related options.

Example:
Running h² computation on a seeg data file: