mia-processes 2.5.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.5.0 → mia_processes-2.7.0}/PKG-INFO +43 -6
- {mia_processes-2.5.0 → mia_processes-2.7.0}/README.md +35 -4
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/__init__.py +4 -1
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/afni/processes.py +43 -30
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/ants/processes.py +16 -12
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/dipy/processes.py +41 -9
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/freesurfer/processes.py +12 -9
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/fsl/__init__.py +3 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/fsl/processes.py +1293 -69
- mia_processes-2.7.0/mia_processes/bricks/preprocess/matlab_wrap/__init__.py +5 -0
- mia_processes-2.7.0/mia_processes/bricks/preprocess/matlab_wrap/processes.py +163 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/mrtrix/__init__.py +3 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/mrtrix/processes.py +792 -120
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/others/__init__.py +2 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/others/processing.py +483 -175
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/spm/spatial_preprocessing.py +100 -46
- mia_processes-2.7.0/mia_processes/bricks/preprocess/volbrain/__init__.py +19 -0
- mia_processes-2.7.0/mia_processes/bricks/preprocess/volbrain/processes.py +657 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/reports/__init__.py +5 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/reports/processes.py +721 -84
- mia_processes-2.7.0/mia_processes/bricks/reports/reporting.py +3957 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/stat/spm/model.py +101 -46
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/tools/__init__.py +7 -0
- mia_processes-2.7.0/mia_processes/bricks/tools/tools.py +4810 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/info.py +4 -2
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/CerebVascularReact/co2_inhalation.py +109 -31
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/DWITractography/dwi_whole_brain_tractography.py +0 -8
- 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.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/__init__.py +3 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/anat_spatial_norm.py +3 -3
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/bold_mni_align.py +3 -3
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/bold_spatial_preprocessing1.py +59 -14
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/bold_spatial_preprocessing2.py +3 -3
- mia_processes-2.7.0/mia_processes/pipelines/preprocess/bold_spatial_preprocessing3.py +215 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/dwi_fod_msmt_csd.py +0 -1
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/dwi_preprocessing.py +6 -11
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/dwi_tissue_boundaries.py +0 -1
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/spatial_mask.py +8 -8
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/qualityControl/__init__.py +1 -0
- mia_processes-2.7.0/mia_processes/pipelines/qualityControl/bold_signals_roi.py +459 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/reports/extract_roi_param.py +21 -41
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/stat/bold_stat_cvr.py +12 -12
- mia_processes-2.7.0/mia_processes/sources_images/__init__.py +2 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/utils/__init__.py +2 -1
- mia_processes-2.7.0/mia_processes/utils/report.py +6634 -0
- mia_processes-2.7.0/mia_processes/utils/tools.py +1202 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes.egg-info/PKG-INFO +44 -7
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes.egg-info/SOURCES.txt +12 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes.egg-info/requires.txt +2 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/pyproject.toml +3 -1
- mia_processes-2.5.0/mia_processes/bricks/reports/reporting.py +0 -1718
- mia_processes-2.5.0/mia_processes/bricks/tools/tools.py +0 -1650
- mia_processes-2.5.0/mia_processes/utils/report.py +0 -2270
- mia_processes-2.5.0/mia_processes/utils/tools.py +0 -750
- {mia_processes-2.5.0 → mia_processes-2.7.0}/LICENSE +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/afni/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/ants/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/dipy/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/freesurfer/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/preprocess/spm/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/stat/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/bricks/stat/spm/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/CerebVascularReact/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/DWITractography/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/anat_airmask.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/anat_headmask.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/anat_mni_tpms.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/anat_skullstrip.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/anat_skullstrip_synthstrip.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/preprocess/bold_hmc.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/qualityControl/anat_mriqc.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/qualityControl/bold_mriqc.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/reports/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/reports/bold_iqms.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/pipelines/stat/__init__.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes/process_matlab.py +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes.egg-info/dependency_links.txt +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes.egg-info/not-zip-safe +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/mia_processes.egg-info/top_level.txt +0 -0
- {mia_processes-2.5.0 → mia_processes-2.7.0}/setup.cfg +0 -0
- {mia_processes-2.5.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,7 +33,9 @@ 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
|
|
38
|
+
Requires-Dist: openpyxl
|
|
37
39
|
Requires-Dist: paramiko
|
|
38
40
|
Requires-Dist: populse-db<3.0.0,>=2.5.0
|
|
39
41
|
Requires-Dist: populse_mia<3.0.0,>=2.5.0
|
|
@@ -46,8 +48,16 @@ Requires-Dist: torch
|
|
|
46
48
|
Requires-Dist: vtk
|
|
47
49
|
Provides-Extra: doc
|
|
48
50
|
Requires-Dist: sphinx>=1.0; extra == "doc"
|
|
51
|
+
Dynamic: author
|
|
52
|
+
Dynamic: home-page
|
|
53
|
+
Dynamic: license-file
|
|
54
|
+
Dynamic: platform
|
|
49
55
|
|
|
50
|
-
|
|
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>
|
|
51
61
|
|
|
52
62
|
<!-- [](https://codecov.io/github/populse/mia_processes) -->
|
|
53
63
|
[](https://github.com/populse/mia_processes/blob/master/LICENSE)
|
|
@@ -63,7 +73,7 @@ Requires-Dist: sphinx>=1.0; extra == "doc"
|
|
|
63
73
|
|
|
64
74
|
* A compatible version of [Python](https://www.python.org/) (>= 3.5) and [pip](https://packaging.python.org/guides/tool-recommendations/) must be installed.
|
|
65
75
|
|
|
66
|
-
* 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.
|
|
67
77
|
|
|
68
78
|
Try:
|
|
69
79
|
`python -V`
|
|
@@ -115,6 +125,26 @@ Requires-Dist: sphinx>=1.0; extra == "doc"
|
|
|
115
125
|
cd ..
|
|
116
126
|
rm -r [mia_install_dir]
|
|
117
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
|
+
|
|
118
148
|
# Third-party softwares
|
|
119
149
|
|
|
120
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).
|
|
@@ -123,6 +153,9 @@ Many mia_processes bricks (atomic processes) use third-party softwares. To use t
|
|
|
123
153
|
# Requirements
|
|
124
154
|
|
|
125
155
|
In order to get all the bricks and pipelines proposed by mia_processes some third libraries are required:
|
|
156
|
+
* boto
|
|
157
|
+
* cmp
|
|
158
|
+
* cfflib
|
|
126
159
|
* dipy
|
|
127
160
|
* nibabel
|
|
128
161
|
* nilearn
|
|
@@ -131,13 +164,17 @@ In order to get all the bricks and pipelines proposed by mia_processes some thir
|
|
|
131
164
|
* nitime
|
|
132
165
|
* nitransforms
|
|
133
166
|
* numpy
|
|
134
|
-
*
|
|
135
|
-
*
|
|
167
|
+
* openpyxl
|
|
168
|
+
* paramiko
|
|
169
|
+
* populse-db >= 2.5.0, < 3.0.0
|
|
170
|
+
* populse_mia >= 2.5.0, < 3.0.0
|
|
171
|
+
* pyxnat
|
|
136
172
|
* reportlab
|
|
137
173
|
* scipy
|
|
138
174
|
* statsmodels
|
|
139
175
|
* templateflow
|
|
140
176
|
* torch
|
|
177
|
+
* vtk
|
|
141
178
|
|
|
142
179
|
# License
|
|
143
180
|
|
|
@@ -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).
|
|
@@ -74,6 +98,9 @@ Many mia_processes bricks (atomic processes) use third-party softwares. To use t
|
|
|
74
98
|
# Requirements
|
|
75
99
|
|
|
76
100
|
In order to get all the bricks and pipelines proposed by mia_processes some third libraries are required:
|
|
101
|
+
* boto
|
|
102
|
+
* cmp
|
|
103
|
+
* cfflib
|
|
77
104
|
* dipy
|
|
78
105
|
* nibabel
|
|
79
106
|
* nilearn
|
|
@@ -82,13 +109,17 @@ In order to get all the bricks and pipelines proposed by mia_processes some thir
|
|
|
82
109
|
* nitime
|
|
83
110
|
* nitransforms
|
|
84
111
|
* numpy
|
|
85
|
-
*
|
|
86
|
-
*
|
|
112
|
+
* openpyxl
|
|
113
|
+
* paramiko
|
|
114
|
+
* populse-db >= 2.5.0, < 3.0.0
|
|
115
|
+
* populse_mia >= 2.5.0, < 3.0.0
|
|
116
|
+
* pyxnat
|
|
87
117
|
* reportlab
|
|
88
118
|
* scipy
|
|
89
119
|
* statsmodels
|
|
90
120
|
* templateflow
|
|
91
121
|
* torch
|
|
122
|
+
* vtk
|
|
92
123
|
|
|
93
124
|
# License
|
|
94
125
|
|
|
@@ -9,8 +9,11 @@ Each package corresponds to a software encapsulated in mia_processes.
|
|
|
9
9
|
- dipy: bricks from dipy
|
|
10
10
|
- freesurfer: bricks from freesurfer
|
|
11
11
|
- fsl: bricks from fsl
|
|
12
|
-
-
|
|
12
|
+
- matlab_wrap: bricks that wrap MATLAB scripts using Nipype
|
|
13
|
+
- mrtrix: bricks from mrtrix3
|
|
14
|
+
- others: bricks from other sources (usually homemade bricks)
|
|
13
15
|
- spm: bricks from spm
|
|
16
|
+
- volbrain: bricks from volbrain
|
|
14
17
|
|
|
15
18
|
"""
|
|
16
19
|
|
{mia_processes-2.5.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
|