cmp.pipelines.common module

Definition of common parent classes for pipelines.

class cmp.pipelines.common.Pipeline(project_info)[source]

Bases: traits.has_traits.HasTraits

Parent class that extends HasTraits and represents a processing pipeline.

It is extended by the various pipeline classes.

See also

cmp.pipelines.anatomical.anatomical.AnatomicalPipeline, cmp.pipelines.diffusion.diffusion.DiffusionPipeline, cmp.pipelines.functional.fMRI.fMRIPipeline

anat_flow = None
clear_stages_outputs()[source]

Clear processing stage outputs.

create_stage_flow(stage_name)[source]

Create the sub-workflow of a processing stage.

Parameters

stage_name (str) – Stage name

Returns

flow – Created stage sub-workflow

Return type

nipype.pipeline.engine.Workflow

fill_stages_outputs()[source]

Update processing stage output list for visual inspection.

number_of_cores = 1
subject = 'sub-01'