Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Documentation-116
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • anywave
  • Documentation-116
  • Wiki
  • plugin_file_exporter

plugin_file_exporter · Changes

Page history
transferring wiki from anywave to documentation authored Jun 06, 2024 by Bruno Colombet's avatar Bruno Colombet
Hide whitespace changes
Inline Side-by-side
plugin_file_exporter.md 0 → 100644
View page @ 2d1e05f5
[[_TOC_]]
# 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:
~~~~bash
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:
~~~~bash
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:
~~~~bash
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:
~~~~bash
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.
Clone repository
  • Build_AnyWave
  • CLI
  • CLI_List
  • Changes
  • ExportData
  • ICA
  • Imaginary Coherence
  • MATLAB anywave function
  • MATLAB_BIDS
  • MATLAB_change_sig_prop
  • MATLAB_debug
  • MATLAB_get_data
  • MATLAB_get_markers
  • MATLAB_get_props
  • MATLAB_init
View All Pages