cmp.bidsappmanager.stages.segmentation.segmentation module

Definition of segmentation config and stage UI classes.

class cmp.bidsappmanager.stages.segmentation.segmentation.SegmentationConfigUI[source]

Bases: cmp.stages.segmentation.segmentation.SegmentationConfig

Class that extends the SegmentationConfig with graphical components.

custom_brainmask_group

VGroup that displays the different parts of a custom BIDS brain mask file

Type

traits.ui.VGroup

custom_gm_mask_group

VGroup that displays the different parts of a custom BIDS gray matter mask file

Type

traits.ui.VGroup

custom_wm_mask_group

VGroup that displays the different parts of a custom BIDS white matter mask file

Type

traits.ui.VGroup

custom_csf_mask_group

VGroup that displays the different parts of a custom BIDS CSF mask file

Type

traits.ui.VGroup

custom_aparcaseg_group

VGroup that displays the different parts of a custom BIDS-formatted Freesurfer’s aparc+aseg file

Type

traits.ui.VGroup

traits_view

TraitsUI view that displays the attributes of this class, e.g. the parameters for the stage

Type

traits.ui.View

class cmp.bidsappmanager.stages.segmentation.segmentation.SegmentationStageUI(subject, session, bids_dir, output_dir)[source]

Bases: cmp.stages.segmentation.segmentation.SegmentationStage

Class that extends the SegmentationStage with graphical components.

inspect_output_button

Button that displays the selected output in an appropriate viewer (present only in the window for quality inspection)

Type

traits.ui.Button

inspect_outputs_view

TraitsUI view that displays the quality inspection window of this stage

Type

traits.ui.View

config_view

TraitsUI view that displays the configuration window of this stage

Type

traits.ui.View