Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Documentation
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • 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
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • anywave
  • Documentation
  • Wiki
  • plugin_h2_cli

Last edited by Bruno Colombet Jun 06, 2024
Page history

plugin_h2_cli

Using the plugin from the command line

The plugin will requires the following options:

option type description/value
--run h2 MANDATORY name of the plugin
--time_window value MANDATORY length time window (s)
--max_lag value MANDATORY maximum lag duration (s)
--step value MANDATORY step in seconds
--algorithm value optional h2 r2 (default is h2)
--downsampling_factor value optional default is 1 (no downsampling). Set to 2 to reduce the sr by 2

This plugin also supports the following common options:

option type
--input_file MANDATORY
--use_markers optional
--skip_markers optional
--output_dir optional
--output_prefix optional
--marker_file optional
--montage_file optional

Command line examples

Compute h2 on EEG data using a specific marker file and only on H2 markers.
The frequency band is 1-40.

anywave --run h2 --input_file d:\data\myfile.eeg --time_window 4 --step 1 --max_lag 0.1 --marker_file d:\data\h2markers.mrk --use_markers "H2" --hp 1 --lp 40

Compute r2 on the same data assuming the data file has markers named H2:

anywave --run h2 --algorithm r2 --input_file d:\data\myfile.eeg --time_window 4 --step 1 --max_lag 0.1 --use_markers "H2" --hp 1 --lp 40
Clone repository
  • Build_AnyWave
  • CLI
  • CLI_List
  • Changes
  • ExportData
  • MATLAB_API
  • MATLAB_BIDS
  • MATLAB_debug
  • MATLAB_functions
  • MATLAB_get_data
  • MATLAB_get_data_ex
  • MATLAB_get_markers
  • MATLAB_get_props
  • MATLAB_init
  • MATLAB_run
View All Pages