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
  • Py_ica_command

Py_ica_command · Changes

Page history
Create Py_ica_command authored Aug 26, 2025 by Bruno Colombet's avatar Bruno Colombet
Show whitespace changes
Inline Side-by-side
Showing with 19 additions and 0 deletions
+19 -0
  • Py_ica_command.md Py_ica_command.md +19 -0
  • No files found.
Py_ica_command.md 0 → 100644
View page @ d724dde9
````python
import sys
import anywave
anywave.init(sys.argv)
# assume the current data file open has ica matrices loaded
# we want to reject component 10 and 15 of MEG IC
cfg = dict()
cfg['labels'] = ['M_IC10', 'M_IC15']
cfg['command'] = 'reject'
anywave.ica_command(cfg) # anywave will mark channels as rejected and rebuild the MEG signals.
# this is similar of what the user can do manually by rejecting ICA channels (components)
# if no command is speficied in cfg, reject will be done by default.
# set command to 'undo' to undo previously rejections.
````
\ No newline at end of file
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