cmp.stages.eeg.loader module

Definition of config and stage classes for computing brain parcellation.

class cmp.stages.eeg.loader.EEGLoaderConfig[source]

Bases: traits.has_traits.HasTraits

Class used to store configuration parameters of a EEGLoaderStage instance.


Specify the inverse solution algorithm (Default: Cartool-LAURA)


[‘Cartool-LAURA’, ‘Cartool-LORETA’, ‘mne-sLORETA’]

class cmp.stages.eeg.loader.EEGLoaderStage(bids_dir, output_dir)[source]

Bases: cmp.stages.common.Stage

Class that represents inverse solution input loader stage of a EEGPipeline.

This stage consists of one processing interface:

  • EEGLoader: Use to query all the necessary files to be passed as inputs to the inverse solution stage of the EEG pipeline.


Create the workflow of the EEGLoaderStage

create_workflow(flow, inputnode, outputnode)[source]

Create the stage workflow.

  • flow (nipype.pipeline.engine.Workflow) – The nipype.pipeline.engine.Workflow instance of the Diffusion pipeline

  • inputnode (nipype.interfaces.utility.IdentityInterface) – Identity interface describing the inputs of the stage

  • outputnode (nipype.interfaces.utility.IdentityInterface) – Identity interface describing the outputs of the stage


Function that returns True if the stage has been run successfully.


Return type

True if the stage has been run successfully