cmp.bidsappmanager.pipelines.diffusion.diffusion module¶
Diffusion pipeline UI Class definition.
-
class
cmp.bidsappmanager.pipelines.diffusion.diffusion.
DiffusionPipelineUI
(project_info)[source]¶ Bases:
cmp.pipelines.diffusion.diffusion.DiffusionPipeline
Class that extends the
DiffusionPipeline
with graphical components.-
preprocessing
¶ Button to open the window for configuration or quality inspection of the preprocessing stage depending on the
view_mode
- Type
traits.ui.Button
-
registration
¶ Button to open the window for configuration or quality inspection of the registration stage depending on the
view_mode
- Type
traits.ui.Button
-
diffusion
¶ Button to open the window for configuration or quality inspection of the diffusion reconstruction and tractography stage depending on the
view_mode
- Type
traits.ui.Button
-
connectome
¶ Button to open the window for configuration or quality inspection of the connectome stage depending on the
view_mode
- Type
traits.ui.Button
-
view_mode
¶ Variable used to control the display of either (1) the configuration or (2) the quality inspection of stage of the pipeline
- Type
[‘config_view’, ‘inspect_outputs_view’]
-
pipeline_group
¶ Panel defining the layout of the buttons of the stages with corresponding images
- Type
traitsUI panel
-
traits_view
¶ QtView that includes the
pipeline_group
panel- Type
QtView
-
check_input
(layout, gui=True)[source]¶ Method that checks if inputs of the diffusion pipeline are available in the datasets.
- Parameters
layout (bids.BIDSLayout) – BIDSLayout object used to query
gui (bool) – If True, display message in GUI
- Returns
valid_inputs – True in all inputs of the anatomical pipeline are available
- Return type
bool
-