cmtklib.config module¶
Module that defines CMTK Config file function.
-
cmtklib.config.
anat_load_config_ini
(pipeline, config_path)[source]¶ Load the configuration file of an anatomical pipeline.
- Parameters
pipeline (Instance(cmp.pipelines.anatomical.anatomical.AnatomicalPipeline)) – Instance of AnatomicalPipeline
config_path (string) – Path of the configuration file
-
cmtklib.config.
anat_load_config_json
(pipeline, config_path)[source]¶ Load the JSON configuration file of an anatomical pipeline.
- Parameters
pipeline (Instance(cmp.pipelines.anatomical.anatomical.AnatomicalPipeline)) – Instance of AnatomicalPipeline
config_path (string) – Path of the JSON configuration file
-
cmtklib.config.
anat_save_config
(pipeline, config_path)[source]¶ Save the configuration file of an anatomical pipeline.
- Parameters
pipeline (Instance(cmp.pipelines.anatomical.anatomical.AnatomicalPipeline)) – Instance of AnatomicalPipeline
config_path (string) – Path of the configuration file
-
cmtklib.config.
dmri_load_config_ini
(pipeline, config_path)[source]¶ Load the INI configuration file of a diffusion pipeline.
- Parameters
pipeline (Instance(cmp.pipelines.diffusion.diffusion.DiffusionPipeline)) – Instance of DiffusionPipeline
config_path (string) – Path of the INI configuration file
-
cmtklib.config.
dmri_load_config_json
(pipeline, config_path)[source]¶ Load the JSON configuration file of a diffusion pipeline.
- Parameters
pipeline (Instance(cmp.pipelines.diffusion.diffusion.DiffusionPipeline)) – Instance of DiffusionPipeline
config_path (string) – Path of the JSON configuration file
-
cmtklib.config.
dmri_save_config
(pipeline, config_path)[source]¶ Save the INI configuration file of a diffusion pipeline.
- Parameters
pipeline (Instance(cmp.pipelines.diffusion.diffusion.DiffusionPipeline)) – Instance of DiffusionPipeline
config_path (string) – Path of the INI configuration file
-
cmtklib.config.
fmri_load_config_ini
(pipeline, config_path)[source]¶ Load the INI configuration file of a fMRI pipeline.
- Parameters
pipeline (Instance(cmp.pipelines.functional.fMRI.fMRIPipeline)) – Instance of fMRIPipeline
config_path (string) – Path of the INI configuration file
-
cmtklib.config.
fmri_load_config_json
(pipeline, config_path)[source]¶ Load the JSON configuration file of a fMRI pipeline.
- Parameters
pipeline (Instance(cmp.pipelines.functional.fMRI.fMRIPipeline)) – Instance of fMRIPipeline
config_path (string) – Path of the INI configuration file
-
cmtklib.config.
fmri_save_config
(pipeline, config_path)[source]¶ Save the INI configuration file of a fMRI pipeline.
- Parameters
pipeline (Instance(cmp.pipelines.functional.fMRI.fMRIPipeline)) – Instance of fMRIPipeline
config_path (string) – Path of the INI configuration file
-
cmtklib.config.
get_anat_process_detail_ini
(project_info, section, detail)[source]¶ Get the value for a parameter key (detail) in the stage section of the anatomical INI config file.
- Parameters
project_info (Instance(cmp.project.CMP_Project_Info)) – Instance of
cmp.project.CMP_Project_Info
classsection (string) – Stage section name
detail (string) – Parameter key
- Returns
- Return type
The parameter value
-
cmtklib.config.
get_anat_process_detail_json
(project_info, section, detail)[source]¶ Get the value for a parameter key (detail) in the stage section of the anatomical JSON config file.
- Parameters
project_info (Instance(cmp.project.CMP_Project_Info)) – Instance of
cmp.project.CMP_Project_Info
classsection (string) – Stage section name
detail (string) – Parameter key
- Returns
- Return type
The parameter value
-
cmtklib.config.
get_dmri_process_detail_ini
(project_info, section, detail)[source]¶ Get the value for a parameter key (detail) in the stage section of the diffusion INI config file.
- Parameters
project_info (Instance(cmp.project.CMP_Project_Info)) – Instance of
cmp.project.CMP_Project_Info
classsection (string) – Stage section name
detail (string) – Parameter key
- Returns
- Return type
The parameter value
-
cmtklib.config.
get_dmri_process_detail_json
(project_info, section, detail)[source]¶ Get the value for a parameter key (detail) in the stage section of the diffusion JSON config file.
- Parameters
project_info (Instance(cmp.project.CMP_Project_Info)) – Instance of
cmp.project.CMP_Project_Info
classsection (string) – Stage section name
detail (string) – Parameter key
- Returns
- Return type
The parameter value
-
cmtklib.config.
get_fmri_process_detail_ini
(project_info, section, detail)[source]¶ Get the value for a parameter key (detail) in the stage section of the fMRI INI config file.
- Parameters
project_info (Instance(cmp.project.CMP_Project_Info)) – Instance of
cmp.project.CMP_Project_Info
classsection (string) – Stage section name
detail (string) – Parameter key
- Returns
- Return type
The parameter value
-
cmtklib.config.
get_fmri_process_detail_json
(project_info, section, detail)[source]¶ Get the value for a parameter key (detail) in the stage section of the fMRI JSON config file.
- Parameters
project_info (Instance(cmp.project.CMP_Project_Info)) – Instance of
cmp.project.CMP_Project_Info
classsection (string) – Stage section name
detail (string) – Parameter key
- Returns
- Return type
The parameter value
-
cmtklib.config.
get_process_detail_ini
(project_info, section, detail)[source]¶ Get the value for a parameter key (detail) in the Global section of the INI config file.
- Parameters
project_info (Instance(cmp.project.CMP_Project_Info)) – Instance of
cmp.project.CMP_Project_Info
classsection (string) – Stage name
detail (string) – Parameter key
- Returns
- Return type
The parameter value
-
cmtklib.config.
get_process_detail_json
(project_info, section, detail)[source]¶ Get the value for a parameter key (detail) in the global section of the JSON config file.
- Parameters
project_info (Instance(cmp.project.CMP_Project_Info)) – Instance of
cmp.project.CMP_Project_Info
classsection (string) – Stage section name
detail (string) – Parameter key
- Returns
- Return type
The parameter value