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
- create_stage_flow(stage_name)[source]
Create the sub-workflow of a processing stage.
- Parameters
stage_name –
- number_of_cores = 1
- subject = 'sub-01'
- class cmp.pipelines.common.ProcessThread(group=None, target=None, name=None, args=(), kwargs=None, *, daemon=None)[source]
Bases:
threading.Thread
Class use to represent the pipeline process as a
threading.Thread
.- pipeline <Instance>
Any Pipeline instance
- pipeline = <traits.trait_types.Instance object>
- class cmp.pipelines.common.ProgressThread(group=None, target=None, name=None, args=(), kwargs=None, *, daemon=None)[source]
Bases:
threading.Thread
Class use to monitor stage execution in a
threading.Thread
.Information is display in the ProgressWindow (Not used anymore by CMP3)
- pw = <traits.trait_types.Instance object>
- stage_names = []
- stages = {}