mia-processes 2.6.0__tar.gz → 2.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mia_processes-2.6.0 → mia_processes-2.7.0}/PKG-INFO +33 -4
- {mia_processes-2.6.0 → mia_processes-2.7.0}/README.md +26 -2
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/afni/processes.py +43 -30
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/ants/processes.py +16 -12
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/dipy/processes.py +6 -4
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/freesurfer/processes.py +12 -9
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/fsl/__init__.py +1 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/fsl/processes.py +649 -36
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/matlab_wrap/__init__.py +1 -1
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/matlab_wrap/processes.py +7 -7
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/mrtrix/__init__.py +2 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/mrtrix/processes.py +597 -67
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/others/processing.py +90 -66
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/spm/spatial_preprocessing.py +25 -18
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/volbrain/processes.py +62 -20
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/reports/__init__.py +3 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/reports/processes.py +339 -25
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/reports/reporting.py +1575 -77
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/stat/spm/model.py +86 -33
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/tools/__init__.py +6 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/tools/tools.py +2345 -379
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/info.py +2 -1
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/CerebVascularReact/co2_inhalation.py +1 -0
- mia_processes-2.7.0/mia_processes/pipelines/FunctionalLangageMemory/__init__.py +18 -0
- mia_processes-2.7.0/mia_processes/pipelines/FunctionalLangageMemory/ge2rec.py +806 -0
- mia_processes-2.7.0/mia_processes/pipelines/FunctionalLangageMemory/ge2rec_without_behavioural_data.py +680 -0
- mia_processes-2.7.0/mia_processes/pipelines/Perfusion/__init__.py +15 -0
- mia_processes-2.7.0/mia_processes/pipelines/Perfusion/perfdsc.py +209 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/__init__.py +3 -0
- mia_processes-2.7.0/mia_processes/pipelines/preprocess/bold_spatial_preprocessing3.py +215 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/utils/__init__.py +1 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/utils/report.py +4420 -1807
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/utils/tools.py +274 -33
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes.egg-info/PKG-INFO +33 -4
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes.egg-info/SOURCES.txt +6 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes.egg-info/requires.txt +1 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/pyproject.toml +2 -1
- {mia_processes-2.6.0 → mia_processes-2.7.0}/LICENSE +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/afni/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/ants/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/dipy/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/freesurfer/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/others/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/spm/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/volbrain/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/stat/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/stat/spm/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/CerebVascularReact/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/DWITractography/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/DWITractography/dwi_whole_brain_tractography.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/anat_airmask.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/anat_headmask.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/anat_mni_tpms.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/anat_skullstrip.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/anat_skullstrip_synthstrip.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/anat_spatial_norm.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/bold_hmc.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/bold_mni_align.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/bold_spatial_preprocessing1.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/bold_spatial_preprocessing2.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/dwi_fod_msmt_csd.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/dwi_preprocessing.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/dwi_tissue_boundaries.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/spatial_mask.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/qualityControl/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/qualityControl/anat_mriqc.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/qualityControl/bold_mriqc.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/qualityControl/bold_signals_roi.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/reports/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/reports/bold_iqms.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/reports/extract_roi_param.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/stat/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/pipelines/stat/bold_stat_cvr.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/process_matlab.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/sources_images/__init__.py +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes.egg-info/dependency_links.txt +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes.egg-info/not-zip-safe +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes.egg-info/top_level.txt +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/setup.cfg +0 -0
- {mia_processes-2.6.0 → mia_processes-2.7.0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: mia_processes
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.7.0
|
|
4
4
|
Summary: mia_processes
|
|
5
5
|
Home-page: http://populse.github.io/mia_processes
|
|
6
6
|
Author: Populse team
|
|
@@ -33,6 +33,7 @@ Requires-Dist: nipy
|
|
|
33
33
|
Requires-Dist: nipype
|
|
34
34
|
Requires-Dist: nitime
|
|
35
35
|
Requires-Dist: nitransforms
|
|
36
|
+
Requires-Dist: niworkflows
|
|
36
37
|
Requires-Dist: numpy
|
|
37
38
|
Requires-Dist: openpyxl
|
|
38
39
|
Requires-Dist: paramiko
|
|
@@ -47,8 +48,16 @@ Requires-Dist: torch
|
|
|
47
48
|
Requires-Dist: vtk
|
|
48
49
|
Provides-Extra: doc
|
|
49
50
|
Requires-Dist: sphinx>=1.0; extra == "doc"
|
|
51
|
+
Dynamic: author
|
|
52
|
+
Dynamic: home-page
|
|
53
|
+
Dynamic: license-file
|
|
54
|
+
Dynamic: platform
|
|
50
55
|
|
|
51
|
-
|
|
56
|
+
<p align="center" >
|
|
57
|
+
<img src="https://github.com/populse/mia_processes/blob/master/mia_processes/sources_images/Logo_mia_processes_1537x1025.jpg" alt="mia_processes logo" height="300" width="450">
|
|
58
|
+
<br />
|
|
59
|
+
<sub style="font-size: 8px;">This image was generated with ChatGPT from a text description.</sub>
|
|
60
|
+
</p>
|
|
52
61
|
|
|
53
62
|
<!-- [](https://codecov.io/github/populse/mia_processes) -->
|
|
54
63
|
[](https://github.com/populse/mia_processes/blob/master/LICENSE)
|
|
@@ -64,7 +73,7 @@ Requires-Dist: sphinx>=1.0; extra == "doc"
|
|
|
64
73
|
|
|
65
74
|
* A compatible version of [Python](https://www.python.org/) (>= 3.5) and [pip](https://packaging.python.org/guides/tool-recommendations/) must be installed.
|
|
66
75
|
|
|
67
|
-
* Depending on the Python setup and OS, the
|
|
76
|
+
* Depending on the Python setup and OS, the `python3` command may be used as the default Python command.
|
|
68
77
|
|
|
69
78
|
Try:
|
|
70
79
|
`python -V`
|
|
@@ -116,6 +125,26 @@ Requires-Dist: sphinx>=1.0; extra == "doc"
|
|
|
116
125
|
cd ..
|
|
117
126
|
rm -r [mia_install_dir]
|
|
118
127
|
|
|
128
|
+
* The populse project uses Git Large File Storage (LFS). In developer mode (without installing the source codes), after cloning the source codes, it is advisable to retrieve the large files with Git LFS:
|
|
129
|
+
|
|
130
|
+
* If Git LFS is not already installed on your system, you need to install it first.
|
|
131
|
+
|
|
132
|
+
* Ex. on Fedora:
|
|
133
|
+
|
|
134
|
+
sudo dnf install git-lfs
|
|
135
|
+
|
|
136
|
+
* Initialize Git LFS
|
|
137
|
+
|
|
138
|
+
* On a reposirory:
|
|
139
|
+
|
|
140
|
+
git lfs install
|
|
141
|
+
|
|
142
|
+
* Retrieve Files with Git LFS
|
|
143
|
+
|
|
144
|
+
* On a repository:
|
|
145
|
+
|
|
146
|
+
git lfs pull
|
|
147
|
+
|
|
119
148
|
# Third-party softwares
|
|
120
149
|
|
|
121
150
|
Many mia_processes bricks (atomic processes) use third-party softwares. To use these bricks, the corresponding [third-party softwares must be installed](https://populse.github.io/populse_mia/html/installation/3rd-party_installations.html).
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center" >
|
|
2
|
+
<img src="https://github.com/populse/mia_processes/blob/master/mia_processes/sources_images/Logo_mia_processes_1537x1025.jpg" alt="mia_processes logo" height="300" width="450">
|
|
3
|
+
<br />
|
|
4
|
+
<sub style="font-size: 8px;">This image was generated with ChatGPT from a text description.</sub>
|
|
5
|
+
</p>
|
|
2
6
|
|
|
3
7
|
<!-- [](https://codecov.io/github/populse/mia_processes) -->
|
|
4
8
|
[](https://github.com/populse/mia_processes/blob/master/LICENSE)
|
|
@@ -14,7 +18,7 @@
|
|
|
14
18
|
|
|
15
19
|
* A compatible version of [Python](https://www.python.org/) (>= 3.5) and [pip](https://packaging.python.org/guides/tool-recommendations/) must be installed.
|
|
16
20
|
|
|
17
|
-
* Depending on the Python setup and OS, the
|
|
21
|
+
* Depending on the Python setup and OS, the `python3` command may be used as the default Python command.
|
|
18
22
|
|
|
19
23
|
Try:
|
|
20
24
|
`python -V`
|
|
@@ -66,6 +70,26 @@
|
|
|
66
70
|
cd ..
|
|
67
71
|
rm -r [mia_install_dir]
|
|
68
72
|
|
|
73
|
+
* The populse project uses Git Large File Storage (LFS). In developer mode (without installing the source codes), after cloning the source codes, it is advisable to retrieve the large files with Git LFS:
|
|
74
|
+
|
|
75
|
+
* If Git LFS is not already installed on your system, you need to install it first.
|
|
76
|
+
|
|
77
|
+
* Ex. on Fedora:
|
|
78
|
+
|
|
79
|
+
sudo dnf install git-lfs
|
|
80
|
+
|
|
81
|
+
* Initialize Git LFS
|
|
82
|
+
|
|
83
|
+
* On a reposirory:
|
|
84
|
+
|
|
85
|
+
git lfs install
|
|
86
|
+
|
|
87
|
+
* Retrieve Files with Git LFS
|
|
88
|
+
|
|
89
|
+
* On a repository:
|
|
90
|
+
|
|
91
|
+
git lfs pull
|
|
92
|
+
|
|
69
93
|
# Third-party softwares
|
|
70
94
|
|
|
71
95
|
Many mia_processes bricks (atomic processes) use third-party softwares. To use these bricks, the corresponding [third-party softwares must be installed](https://populse.github.io/populse_mia/html/installation/3rd-party_installations.html).
|
{mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/afni/processes.py
RENAMED
|
@@ -81,7 +81,7 @@ class Automask(ProcessMIA):
|
|
|
81
81
|
# Initialisation of the objects needed for the launch of the brick
|
|
82
82
|
super(Automask, self).__init__()
|
|
83
83
|
|
|
84
|
-
# Third party
|
|
84
|
+
# Third party software required for the execution of the brick
|
|
85
85
|
self.requirement = ["afni", "nipype"]
|
|
86
86
|
|
|
87
87
|
# Mandatory inputs description
|
|
@@ -194,7 +194,7 @@ class Automask(ProcessMIA):
|
|
|
194
194
|
|
|
195
195
|
self.init_process("nipype.interfaces.afni.Automask")
|
|
196
196
|
|
|
197
|
-
def list_outputs(self, is_plugged=None):
|
|
197
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
198
198
|
"""Dedicated to the initialisation step of the brick.
|
|
199
199
|
|
|
200
200
|
The main objective of this method is to produce the outputs of the
|
|
@@ -205,6 +205,7 @@ class Automask(ProcessMIA):
|
|
|
205
205
|
self.make_initResult() object.
|
|
206
206
|
|
|
207
207
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
208
|
+
:param iteration: the state, iterative or not, of the process.
|
|
208
209
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
209
210
|
"""
|
|
210
211
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -298,7 +299,7 @@ class Calc(ProcessMIA):
|
|
|
298
299
|
# Initialisation of the objects needed for the launch of the brick
|
|
299
300
|
super(Calc, self).__init__()
|
|
300
301
|
|
|
301
|
-
# Third party
|
|
302
|
+
# Third party software required for the execution of the brick
|
|
302
303
|
self.requirement = ["afni", "nipype"]
|
|
303
304
|
|
|
304
305
|
# Inputs description
|
|
@@ -435,7 +436,7 @@ class Calc(ProcessMIA):
|
|
|
435
436
|
|
|
436
437
|
self.init_process("nipype.interfaces.afni.Calc")
|
|
437
438
|
|
|
438
|
-
def list_outputs(self, is_plugged=None):
|
|
439
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
439
440
|
"""Dedicated to the initialisation step of the brick.
|
|
440
441
|
|
|
441
442
|
The main objective of this method is to produce the outputs of the
|
|
@@ -446,6 +447,7 @@ class Calc(ProcessMIA):
|
|
|
446
447
|
self.make_initResult() object.
|
|
447
448
|
|
|
448
449
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
450
|
+
:param iteration: the state, iterative or not, of the process.
|
|
449
451
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
450
452
|
"""
|
|
451
453
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -535,7 +537,7 @@ class CalcDropTRs(ProcessMIA):
|
|
|
535
537
|
# Initialisation of the objects needed for the launch of the brick
|
|
536
538
|
super(CalcDropTRs, self).__init__()
|
|
537
539
|
|
|
538
|
-
# Third party
|
|
540
|
+
# Third party software required for the execution of the brick
|
|
539
541
|
self.requirement = ["afni", "nipype"]
|
|
540
542
|
|
|
541
543
|
# Inputs description
|
|
@@ -601,7 +603,7 @@ class CalcDropTRs(ProcessMIA):
|
|
|
601
603
|
|
|
602
604
|
self.init_process("nipype.interfaces.afni.Calc")
|
|
603
605
|
|
|
604
|
-
def list_outputs(self, is_plugged=None):
|
|
606
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
605
607
|
"""Dedicated to the initialisation step of the brick.
|
|
606
608
|
|
|
607
609
|
The main objective of this method is to produce the outputs of the
|
|
@@ -612,6 +614,7 @@ class CalcDropTRs(ProcessMIA):
|
|
|
612
614
|
self.make_initResult() object.
|
|
613
615
|
|
|
614
616
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
617
|
+
:param iteration: the state, iterative or not, of the process.
|
|
615
618
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
616
619
|
"""
|
|
617
620
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -724,7 +727,7 @@ class Despike(ProcessMIA):
|
|
|
724
727
|
# Initialisation of the objects needed for the launch of the brick
|
|
725
728
|
super(Despike, self).__init__()
|
|
726
729
|
|
|
727
|
-
# Third party
|
|
730
|
+
# Third party software required for the execution of the brick
|
|
728
731
|
self.requirement = ["afni", "nipype"]
|
|
729
732
|
|
|
730
733
|
# Inputs description
|
|
@@ -782,7 +785,7 @@ class Despike(ProcessMIA):
|
|
|
782
785
|
|
|
783
786
|
self.init_process("nipype.interfaces.afni.Despike")
|
|
784
787
|
|
|
785
|
-
def list_outputs(self, is_plugged=None):
|
|
788
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
786
789
|
"""Dedicated to the initialisation step of the brick.
|
|
787
790
|
|
|
788
791
|
The main objective of this method is to produce the outputs of the
|
|
@@ -793,6 +796,7 @@ class Despike(ProcessMIA):
|
|
|
793
796
|
self.make_initResult() object.
|
|
794
797
|
|
|
795
798
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
799
|
+
:param iteration: the state, iterative or not, of the process.
|
|
796
800
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
797
801
|
"""
|
|
798
802
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -872,7 +876,7 @@ separately*
|
|
|
872
876
|
# Initialisation of the objects needed for the launch of the brick
|
|
873
877
|
super(FWHMx, self).__init__()
|
|
874
878
|
|
|
875
|
-
# Third party
|
|
879
|
+
# Third party software required for the execution of the brick
|
|
876
880
|
self.requirement = ["afni", "nipype"]
|
|
877
881
|
|
|
878
882
|
# Inputs description
|
|
@@ -941,7 +945,7 @@ separately*
|
|
|
941
945
|
|
|
942
946
|
self.init_process("nipype.interfaces.afni.FWHMx")
|
|
943
947
|
|
|
944
|
-
def list_outputs(self, is_plugged=None):
|
|
948
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
945
949
|
"""Dedicated to the initialisation step of the brick.
|
|
946
950
|
|
|
947
951
|
The main objective of this method is to produce the outputs of the
|
|
@@ -952,6 +956,7 @@ separately*
|
|
|
952
956
|
self.make_initResult() object.
|
|
953
957
|
|
|
954
958
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
959
|
+
:param iteration: the state, iterative or not, of the process.
|
|
955
960
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
956
961
|
"""
|
|
957
962
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -1026,7 +1031,7 @@ voxel, over any given mask*
|
|
|
1026
1031
|
# Initialisation of the objects needed for the launch of the brick
|
|
1027
1032
|
super(GCOR, self).__init__()
|
|
1028
1033
|
|
|
1029
|
-
# Third party
|
|
1034
|
+
# Third party software required for the execution of the brick
|
|
1030
1035
|
self.requirement = ["afni", "nipype"]
|
|
1031
1036
|
|
|
1032
1037
|
# Inputs description
|
|
@@ -1079,7 +1084,7 @@ voxel, over any given mask*
|
|
|
1079
1084
|
|
|
1080
1085
|
self.init_process("nipype.interfaces.afni.GCOR")
|
|
1081
1086
|
|
|
1082
|
-
def list_outputs(self, is_plugged=None):
|
|
1087
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
1083
1088
|
"""Dedicated to the initialisation step of the brick.
|
|
1084
1089
|
|
|
1085
1090
|
The main objective of this method is to produce the outputs of the
|
|
@@ -1090,6 +1095,7 @@ voxel, over any given mask*
|
|
|
1090
1095
|
self.make_initResult() object.
|
|
1091
1096
|
|
|
1092
1097
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
1098
|
+
:param iteration: the state, iterative or not, of the process.
|
|
1093
1099
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
1094
1100
|
"""
|
|
1095
1101
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -1164,7 +1170,7 @@ separately*
|
|
|
1164
1170
|
# Initialisation of the objects needed for the launch of the brick
|
|
1165
1171
|
super(OutlierCount, self).__init__()
|
|
1166
1172
|
|
|
1167
|
-
# Third party
|
|
1173
|
+
# Third party software required for the execution of the brick
|
|
1168
1174
|
self.requirement = ["afni", "nipype"]
|
|
1169
1175
|
|
|
1170
1176
|
# Inputs description
|
|
@@ -1284,7 +1290,7 @@ separately*
|
|
|
1284
1290
|
|
|
1285
1291
|
self.init_process("nipype.interfaces.afni.OutlierCount")
|
|
1286
1292
|
|
|
1287
|
-
def list_outputs(self, is_plugged=None):
|
|
1293
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
1288
1294
|
"""Dedicated to the initialisation step of the brick.
|
|
1289
1295
|
|
|
1290
1296
|
The main objective of this method is to produce the outputs of the
|
|
@@ -1295,6 +1301,7 @@ separately*
|
|
|
1295
1301
|
self.make_initResult() object.
|
|
1296
1302
|
|
|
1297
1303
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
1304
|
+
:param iteration: the state, iterative or not, of the process.
|
|
1298
1305
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
1299
1306
|
"""
|
|
1300
1307
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -1308,7 +1315,7 @@ separately*
|
|
|
1308
1315
|
print(
|
|
1309
1316
|
"Initisalisation failed.."
|
|
1310
1317
|
"Automask and mask_file parameters are "
|
|
1311
|
-
"mutually
|
|
1318
|
+
"mutually exclusive"
|
|
1312
1319
|
)
|
|
1313
1320
|
return
|
|
1314
1321
|
|
|
@@ -1385,7 +1392,7 @@ class QualityIndex(ProcessMIA):
|
|
|
1385
1392
|
# Initialisation of the objects needed for the launch of the brick
|
|
1386
1393
|
super(QualityIndex, self).__init__()
|
|
1387
1394
|
|
|
1388
|
-
# Third party
|
|
1395
|
+
# Third party software required for the execution of the brick
|
|
1389
1396
|
self.requirement = ["afni", "nipype"]
|
|
1390
1397
|
|
|
1391
1398
|
# Inputs description
|
|
@@ -1479,7 +1486,7 @@ class QualityIndex(ProcessMIA):
|
|
|
1479
1486
|
|
|
1480
1487
|
self.init_process("nipype.interfaces.afni.QualityIndex")
|
|
1481
1488
|
|
|
1482
|
-
def list_outputs(self, is_plugged=None):
|
|
1489
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
1483
1490
|
"""Dedicated to the initialisation step of the brick.
|
|
1484
1491
|
|
|
1485
1492
|
The main objective of this method is to produce the outputs of the
|
|
@@ -1490,6 +1497,7 @@ class QualityIndex(ProcessMIA):
|
|
|
1490
1497
|
self.make_initResult() object.
|
|
1491
1498
|
|
|
1492
1499
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
1500
|
+
:param iteration: the state, iterative or not, of the process.
|
|
1493
1501
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
1494
1502
|
"""
|
|
1495
1503
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -1500,7 +1508,7 @@ class QualityIndex(ProcessMIA):
|
|
|
1500
1508
|
):
|
|
1501
1509
|
print(
|
|
1502
1510
|
"Initisalisation failed.."
|
|
1503
|
-
"Automask and mask_file parameters are mutually
|
|
1511
|
+
"Automask and mask_file parameters are mutually exclusive"
|
|
1504
1512
|
)
|
|
1505
1513
|
return
|
|
1506
1514
|
|
|
@@ -1577,7 +1585,7 @@ class RefitDeoblique(ProcessMIA):
|
|
|
1577
1585
|
# Initialisation of the objects needed for the launch of the brick
|
|
1578
1586
|
super(RefitDeoblique, self).__init__()
|
|
1579
1587
|
|
|
1580
|
-
# Third party
|
|
1588
|
+
# Third party software required for the execution of the brick
|
|
1581
1589
|
self.requirement = ["afni", "nipype"]
|
|
1582
1590
|
|
|
1583
1591
|
# Inputs description
|
|
@@ -1609,7 +1617,7 @@ class RefitDeoblique(ProcessMIA):
|
|
|
1609
1617
|
|
|
1610
1618
|
self.init_process("nipype.interfaces.afni.Refit")
|
|
1611
1619
|
|
|
1612
|
-
def list_outputs(self, is_plugged=None):
|
|
1620
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
1613
1621
|
"""Dedicated to the initialisation step of the brick.
|
|
1614
1622
|
|
|
1615
1623
|
The main objective of this method is to produce the outputs of the
|
|
@@ -1620,6 +1628,7 @@ class RefitDeoblique(ProcessMIA):
|
|
|
1620
1628
|
self.make_initResult() object.
|
|
1621
1629
|
|
|
1622
1630
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
1631
|
+
:param iteration: the state, iterative or not, of the process.
|
|
1623
1632
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
1624
1633
|
"""
|
|
1625
1634
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -1667,7 +1676,7 @@ class SkullStrip(ProcessMIA):
|
|
|
1667
1676
|
# Initialisation of the objects needed for the launch of the brick
|
|
1668
1677
|
super(SkullStrip, self).__init__()
|
|
1669
1678
|
|
|
1670
|
-
# Third party
|
|
1679
|
+
# Third party software required for the execution of the brick
|
|
1671
1680
|
self.requirement = ["afni", "nipype"]
|
|
1672
1681
|
|
|
1673
1682
|
# Inputs description
|
|
@@ -1719,7 +1728,7 @@ class SkullStrip(ProcessMIA):
|
|
|
1719
1728
|
|
|
1720
1729
|
self.init_process("nipype.interfaces.afni.SkullStrip")
|
|
1721
1730
|
|
|
1722
|
-
def list_outputs(self, is_plugged=None):
|
|
1731
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
1723
1732
|
"""Dedicated to the initialisation step of the brick.
|
|
1724
1733
|
|
|
1725
1734
|
The main objective of this method is to produce the outputs of the
|
|
@@ -1730,6 +1739,7 @@ class SkullStrip(ProcessMIA):
|
|
|
1730
1739
|
self.make_initResult() object.
|
|
1731
1740
|
|
|
1732
1741
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
1742
|
+
:param iteration: the state, iterative or not, of the process.
|
|
1733
1743
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
1734
1744
|
"""
|
|
1735
1745
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -1803,7 +1813,7 @@ class TShift(ProcessMIA):
|
|
|
1803
1813
|
# Initialisation of the objects needed for the launch of the brick
|
|
1804
1814
|
super(TShift, self).__init__()
|
|
1805
1815
|
|
|
1806
|
-
# Third party
|
|
1816
|
+
# Third party software required for the execution of the brick
|
|
1807
1817
|
self.requirement = ["afni", "nipype"]
|
|
1808
1818
|
|
|
1809
1819
|
# Mandatory inputs description
|
|
@@ -2021,7 +2031,7 @@ class TShift(ProcessMIA):
|
|
|
2021
2031
|
|
|
2022
2032
|
self.init_process("nipype.interfaces.afni.TShift")
|
|
2023
2033
|
|
|
2024
|
-
def list_outputs(self, is_plugged=None):
|
|
2034
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
2025
2035
|
"""Dedicated to the initialisation step of the brick.
|
|
2026
2036
|
|
|
2027
2037
|
The main objective of this method is to produce the outputs of the
|
|
@@ -2032,6 +2042,7 @@ class TShift(ProcessMIA):
|
|
|
2032
2042
|
self.make_initResult() object.
|
|
2033
2043
|
|
|
2034
2044
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
2045
|
+
:param iteration: the state, iterative or not, of the process.
|
|
2035
2046
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
2036
2047
|
"""
|
|
2037
2048
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -2040,7 +2051,7 @@ class TShift(ProcessMIA):
|
|
|
2040
2051
|
if self.slice_timing and self.tpattern != Undefined:
|
|
2041
2052
|
print(
|
|
2042
2053
|
"\nInitialisation failed. "
|
|
2043
|
-
'Please, define only "slice_timing"
|
|
2054
|
+
'Please, define only "slice_timing" parameters or '
|
|
2044
2055
|
'"tpattern" parameters (set the other as Undefined) ...!'
|
|
2045
2056
|
)
|
|
2046
2057
|
return
|
|
@@ -2048,7 +2059,7 @@ class TShift(ProcessMIA):
|
|
|
2048
2059
|
if self.tslice != Undefined and self.tzero != Undefined:
|
|
2049
2060
|
print(
|
|
2050
2061
|
"\nInitialisation failed. "
|
|
2051
|
-
'Please, define only "tslice"
|
|
2062
|
+
'Please, define only "tslice" parameters or '
|
|
2052
2063
|
'"tzero" parameters (set the other as Undefined) ...!'
|
|
2053
2064
|
)
|
|
2054
2065
|
return
|
|
@@ -2145,7 +2156,7 @@ class TStatMean(ProcessMIA):
|
|
|
2145
2156
|
# Initialisation of the objects needed for the launch of the brick
|
|
2146
2157
|
super(TStatMean, self).__init__()
|
|
2147
2158
|
|
|
2148
|
-
# Third party
|
|
2159
|
+
# Third party software required for the execution of the brick
|
|
2149
2160
|
self.requirement = ["afni", "nipype"]
|
|
2150
2161
|
|
|
2151
2162
|
# Inputs description
|
|
@@ -2197,7 +2208,7 @@ class TStatMean(ProcessMIA):
|
|
|
2197
2208
|
|
|
2198
2209
|
self.init_process("nipype.interfaces.afni.TStat")
|
|
2199
2210
|
|
|
2200
|
-
def list_outputs(self, is_plugged=None):
|
|
2211
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
2201
2212
|
"""Dedicated to the initialisation step of the brick.
|
|
2202
2213
|
|
|
2203
2214
|
The main objective of this method is to produce the outputs of the
|
|
@@ -2208,6 +2219,7 @@ class TStatMean(ProcessMIA):
|
|
|
2208
2219
|
self.make_initResult() object.
|
|
2209
2220
|
|
|
2210
2221
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
2222
|
+
:param iteration: the state, iterative or not, of the process.
|
|
2211
2223
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
2212
2224
|
"""
|
|
2213
2225
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -2283,7 +2295,7 @@ class Volreg(ProcessMIA):
|
|
|
2283
2295
|
# Initialisation of the objects needed for the launch of the brick
|
|
2284
2296
|
super(Volreg, self).__init__()
|
|
2285
2297
|
|
|
2286
|
-
# Third party
|
|
2298
|
+
# Third party software required for the execution of the brick
|
|
2287
2299
|
self.requirement = ["afni", "nipype"]
|
|
2288
2300
|
|
|
2289
2301
|
# Mandatory inputs description
|
|
@@ -2448,7 +2460,7 @@ class Volreg(ProcessMIA):
|
|
|
2448
2460
|
|
|
2449
2461
|
self.init_process("nipype.interfaces.afni.Volreg")
|
|
2450
2462
|
|
|
2451
|
-
def list_outputs(self, is_plugged=None):
|
|
2463
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
2452
2464
|
"""Dedicated to the initialisation step of the brick.
|
|
2453
2465
|
|
|
2454
2466
|
The main objective of this method is to produce the outputs of the
|
|
@@ -2459,6 +2471,7 @@ class Volreg(ProcessMIA):
|
|
|
2459
2471
|
self.make_initResult() object.
|
|
2460
2472
|
|
|
2461
2473
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
2474
|
+
:param iteration: the state, iterative or not, of the process.
|
|
2462
2475
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
2463
2476
|
"""
|
|
2464
2477
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
{mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/ants/processes.py
RENAMED
|
@@ -71,7 +71,7 @@ class AffineInitializer(ProcessMIA):
|
|
|
71
71
|
# Initialisation of the objects needed for the launch of the brick
|
|
72
72
|
super(AffineInitializer, self).__init__()
|
|
73
73
|
|
|
74
|
-
# Third party
|
|
74
|
+
# Third party software required for the execution of the brick
|
|
75
75
|
self.requirement = ["ants", "nipype"]
|
|
76
76
|
|
|
77
77
|
# Mandatory inputs description
|
|
@@ -174,7 +174,7 @@ class AffineInitializer(ProcessMIA):
|
|
|
174
174
|
|
|
175
175
|
self.init_process("nipype.interfaces.ants.AffineInitializer")
|
|
176
176
|
|
|
177
|
-
def list_outputs(self, is_plugged=None):
|
|
177
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
178
178
|
"""Dedicated to the initialisation step of the brick.
|
|
179
179
|
|
|
180
180
|
The main objective of this method is to produce the outputs of the
|
|
@@ -185,6 +185,7 @@ class AffineInitializer(ProcessMIA):
|
|
|
185
185
|
self.make_initResult() object.
|
|
186
186
|
|
|
187
187
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
188
|
+
:param iteration: the state, iterative or not, of the process.
|
|
188
189
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
189
190
|
"""
|
|
190
191
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -267,7 +268,7 @@ class ApplyTransforms(ProcessMIA):
|
|
|
267
268
|
# Initialisation of the objects needed for the launch of the brick
|
|
268
269
|
super(ApplyTransforms, self).__init__()
|
|
269
270
|
|
|
270
|
-
# Third party
|
|
271
|
+
# Third party software required for the execution of the brick
|
|
271
272
|
self.requirement = ["ants", "nipype"]
|
|
272
273
|
|
|
273
274
|
# Mandatory inputs description
|
|
@@ -452,7 +453,7 @@ class ApplyTransforms(ProcessMIA):
|
|
|
452
453
|
|
|
453
454
|
self.init_process("nipype.interfaces.ants.ApplyTransforms")
|
|
454
455
|
|
|
455
|
-
def list_outputs(self, is_plugged=None):
|
|
456
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
456
457
|
"""Dedicated to the initialisation step of the brick.
|
|
457
458
|
|
|
458
459
|
The main objective of this method is to produce the outputs of the
|
|
@@ -463,6 +464,7 @@ class ApplyTransforms(ProcessMIA):
|
|
|
463
464
|
self.make_initResult() object.
|
|
464
465
|
|
|
465
466
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
467
|
+
:param iteration: the state, iterative or not, of the process.
|
|
466
468
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
467
469
|
"""
|
|
468
470
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -551,7 +553,7 @@ class N4BiasFieldCorrection(ProcessMIA):
|
|
|
551
553
|
# Initialisation of the objects needed for the launch of the brick
|
|
552
554
|
super(N4BiasFieldCorrection, self).__init__()
|
|
553
555
|
|
|
554
|
-
# Third party
|
|
556
|
+
# Third party software required for the execution of the brick
|
|
555
557
|
self.requirement = ["ants", "nipype"]
|
|
556
558
|
|
|
557
559
|
# Mandatory inputs description
|
|
@@ -631,7 +633,7 @@ class N4BiasFieldCorrection(ProcessMIA):
|
|
|
631
633
|
"in_file", File(output=False, optional=False, desc=in_file_desc)
|
|
632
634
|
)
|
|
633
635
|
|
|
634
|
-
# Optional inputs
|
|
636
|
+
# Optional inputs with default value traits
|
|
635
637
|
self.add_trait(
|
|
636
638
|
"copy_header",
|
|
637
639
|
Bool(True, output=False, optional=True, desc=copy_header_desc),
|
|
@@ -776,7 +778,7 @@ class N4BiasFieldCorrection(ProcessMIA):
|
|
|
776
778
|
|
|
777
779
|
self.init_process("nipype.interfaces.ants.N4BiasFieldCorrection")
|
|
778
780
|
|
|
779
|
-
def list_outputs(self, is_plugged=None):
|
|
781
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
780
782
|
"""Dedicated to the initialisation step of the brick.
|
|
781
783
|
|
|
782
784
|
The main objective of this method is to produce the outputs of the
|
|
@@ -787,6 +789,7 @@ class N4BiasFieldCorrection(ProcessMIA):
|
|
|
787
789
|
self.make_initResult() object.
|
|
788
790
|
|
|
789
791
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
792
|
+
:param iteration: the state, iterative or not, of the process.
|
|
790
793
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
791
794
|
"""
|
|
792
795
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -925,7 +928,7 @@ class Registration(ProcessMIA):
|
|
|
925
928
|
# Initialisation of the objects needed for the launch of the brick
|
|
926
929
|
super(Registration, self).__init__()
|
|
927
930
|
|
|
928
|
-
# Third party
|
|
931
|
+
# Third party software required for the execution of the brick
|
|
929
932
|
self.requirement = ["ants", "nipype"]
|
|
930
933
|
|
|
931
934
|
# Mandatory inputs description
|
|
@@ -939,7 +942,7 @@ class Registration(ProcessMIA):
|
|
|
939
942
|
"of the fixed image (a pathlike object"
|
|
940
943
|
"or string representing an existing file)."
|
|
941
944
|
)
|
|
942
|
-
# Optional inputs
|
|
945
|
+
# Optional inputs with default value description
|
|
943
946
|
collapse_output_transforms_desc = (
|
|
944
947
|
"Collapse output transforms (a boolean). Default is True"
|
|
945
948
|
)
|
|
@@ -991,7 +994,7 @@ class Registration(ProcessMIA):
|
|
|
991
994
|
"(a string)."
|
|
992
995
|
)
|
|
993
996
|
radius_bins_item_trait_desc = (
|
|
994
|
-
"Radius bins item (an
|
|
997
|
+
"Radius bins item (an integer). Default is 5"
|
|
995
998
|
)
|
|
996
999
|
sigma_units_desc = (
|
|
997
1000
|
"Units for smoothing sigmas (mm or vox). "
|
|
@@ -1596,7 +1599,7 @@ class Registration(ProcessMIA):
|
|
|
1596
1599
|
|
|
1597
1600
|
self.init_process("nipype.interfaces.ants.Registration")
|
|
1598
1601
|
|
|
1599
|
-
def list_outputs(self, is_plugged=None):
|
|
1602
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
1600
1603
|
"""Dedicated to the initialisation step of the brick.
|
|
1601
1604
|
|
|
1602
1605
|
The main objective of this method is to produce the outputs of the
|
|
@@ -1607,6 +1610,7 @@ class Registration(ProcessMIA):
|
|
|
1607
1610
|
self.make_initResult() object.
|
|
1608
1611
|
|
|
1609
1612
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
1613
|
+
:param iteration: the state, iterative or not, of the process.
|
|
1610
1614
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
1611
1615
|
"""
|
|
1612
1616
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -1810,7 +1814,7 @@ class Registration(ProcessMIA):
|
|
|
1810
1814
|
self.process.winsorize_lower_quantile = self.winsorize_lower_quantile
|
|
1811
1815
|
self.process.winsorize_upper_quantile = self.winsorize_upper_quantile
|
|
1812
1816
|
|
|
1813
|
-
#
|
|
1817
|
+
# Output flags
|
|
1814
1818
|
if self.output_inverse_warped_image:
|
|
1815
1819
|
self.process.output_inverse_warped_image = (
|
|
1816
1820
|
self.inverse_warped_image
|
{mia_processes-2.6.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/dipy/processes.py
RENAMED
|
@@ -63,7 +63,7 @@ class Denoise(ProcessMIA):
|
|
|
63
63
|
# Initialisation of the objects needed for the launch of the brick
|
|
64
64
|
super(Denoise, self).__init__()
|
|
65
65
|
|
|
66
|
-
# Third party
|
|
66
|
+
# Third party software required for the execution of the brick
|
|
67
67
|
self.requirement = ["nipype"]
|
|
68
68
|
|
|
69
69
|
# Mandatory inputs description
|
|
@@ -172,7 +172,7 @@ class Denoise(ProcessMIA):
|
|
|
172
172
|
|
|
173
173
|
self.init_process("nipype.interfaces.dipy.Denoise")
|
|
174
174
|
|
|
175
|
-
def list_outputs(self, is_plugged=None):
|
|
175
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
176
176
|
"""Dedicated to the initialisation step of the brick.
|
|
177
177
|
|
|
178
178
|
The main objective of this method is to produce the outputs of the
|
|
@@ -183,6 +183,7 @@ class Denoise(ProcessMIA):
|
|
|
183
183
|
self.make_initResult() object.
|
|
184
184
|
|
|
185
185
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
186
|
+
:param iteration: the state, iterative or not, of the process.
|
|
186
187
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
187
188
|
"""
|
|
188
189
|
# Using the inheritance to ProcessMIA class, list_outputs method
|
|
@@ -260,7 +261,7 @@ class ComputeDKI(ProcessMIA):
|
|
|
260
261
|
# Initialisation of the objects needed for the launch of the brick
|
|
261
262
|
super(ComputeDKI, self).__init__()
|
|
262
263
|
|
|
263
|
-
# Third party
|
|
264
|
+
# Third party software required for the execution of the brick
|
|
264
265
|
# self.requirement = ["nipype"]
|
|
265
266
|
|
|
266
267
|
# Mandatory inputs description
|
|
@@ -350,7 +351,7 @@ class ComputeDKI(ProcessMIA):
|
|
|
350
351
|
|
|
351
352
|
self.init_default_traits()
|
|
352
353
|
|
|
353
|
-
def list_outputs(self, is_plugged=None):
|
|
354
|
+
def list_outputs(self, is_plugged=None, iteration=False):
|
|
354
355
|
"""Dedicated to the initialisation step of the brick.
|
|
355
356
|
|
|
356
357
|
The main objective of this method is to produce the outputs of the
|
|
@@ -361,6 +362,7 @@ class ComputeDKI(ProcessMIA):
|
|
|
361
362
|
self.make_initResult() object.
|
|
362
363
|
|
|
363
364
|
:param is_plugged: the state, linked or not, of the plugs.
|
|
365
|
+
:param iteration: the state, iterative or not, of the process.
|
|
364
366
|
:returns: a dictionary with requirement, outputs and inheritance_dict.
|
|
365
367
|
"""
|
|
366
368
|
# Using the inheritance to ProcessMIA class, list_outputs method
|