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.

invsol_format

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

Type

[‘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 nipype.interfaces.io.BIDSDataGrabber to query all the necessary files to be passed as inputs to the inverse solution stage of the EEG pipeline.

create_workflow()[source]

Create the workflow of the EEGLoaderStage

create_workflow(flow, inputnode, outputnode)[source]

Create the stage workflow.

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

define_inspect_outputs()[source]
has_run()[source]

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

Returns

Return type

True if the stage has been run successfully