- Export data using the command line
- Command line options relative to file export
- montage and data chunks
- Usage
Export data using the command line
Yes, it is possible to export data using the command line.
Command line options relative to file export
option | type | description/value |
---|---|---|
--run export | MANDATORY | name of the plugin |
--output_writer "plugin name" | optional | file format for export (see explanation below). Default output format is AnyWave ADES |
--decimate_factor value | optional | reduce the sampling rate of data. Default is no decimation. |
This plugin also considers the following common options:
option | type |
---|---|
--input_file | MANDATORY |
--output_file | MANDATORY |
--hp | optional |
--lp | optional |
--use_markers | optional |
--skip_markers | optional |
--output_dir | optional |
--marker_file | optional |
--montage_file | optional |
--lp | optional |
--hp | optional |
montage and data chunks
You can export data using a montage of your choice by using --montage_file option.
The exporting process will use the montage and export channels accordingly.
You can also export only one or several chunks of the original data by using markers. If you have previously marked your data for export with a dedicated marker, you can specify the --user_markers opion. This option should be used with a marker file using --marker_file option or with the default marker file associated with the data file (if you add the marker in THAT file).
List of available writers
option | description |
---|---|
--output_writer "AnyWave ADES Format" | Creates .ades file . Accepts all format as input. |
--output_writer "MATLAB Format" | Creates .mat file. Accepts all format as input. |
--output_writer "EDF Format" | Creates .edf file. Accepts only EEG/EMG data. |
--output_writer "Brainvision Analyser Format" | Creates .vhdr file. Accepts only EEG/EMG data. |
Usage
convert MEG file to ADES:
anywave --input_file D:\data\1\cf,rDC --output_file meg_data --output_dir d:\converted
Creates meg_data.ades, meg_data.dat and meg_data.mrk files in d:\converted.
convert EEG data to VHDR:
anywave --input_file D:\data\eeg\patient1.cnt --output_file patient1 --output_dir d:\converted --output_writer "brainvision analyser format"
Files patient1.vhdr patient1.eeg and patient1.vmrk will be created in d:\converted.
convert EEG and filter data:
anywave --input_file D:\data\eeg\patient1.cnt --output_file patient1 --output_dir d:\converted --hp 1 --lp 120
Files patient1.ades patient1.dat patient1.mrk will be created in d:\converted. Data will be filtered in band (1-120Hz)
convert eeg and reduce sampling rate:
anywave --input_file D:\data\eeg\patient1.cnt --output_file patient1 --output_dir d:\converted --decimate_factor 2
If we consider patient1.cnt file to contain 1024Hz data, the output patient1.ades file will contain 512Hz data.