mia-processes 2.3.0__tar.gz → 2.6.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/PKG-INFO +160 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/README.md +15 -3
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/__init__.py +10 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/preprocess/__init__.py +4 -1
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/preprocess/afni/processes.py +114 -83
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/preprocess/ants/processes.py +61 -48
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/preprocess/dipy/__init__.py +1 -1
- mia_processes-2.6.0/mia_processes/bricks/preprocess/dipy/processes.py +487 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/preprocess/freesurfer/processes.py +27 -20
- mia_processes-2.6.0/mia_processes/bricks/preprocess/fsl/__init__.py +23 -0
- mia_processes-2.6.0/mia_processes/bricks/preprocess/fsl/processes.py +2348 -0
- mia_processes-2.6.0/mia_processes/bricks/preprocess/matlab_wrap/__init__.py +5 -0
- mia_processes-2.6.0/mia_processes/bricks/preprocess/matlab_wrap/processes.py +163 -0
- mia_processes-2.6.0/mia_processes/bricks/preprocess/mrtrix/__init__.py +39 -0
- mia_processes-2.6.0/mia_processes/bricks/preprocess/mrtrix/processes.py +5571 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/preprocess/others/__init__.py +2 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/preprocess/others/processing.py +555 -249
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/preprocess/spm/spatial_preprocessing.py +335 -674
- {mia_processes-2.3.0/mia_processes/bricks/preprocess/fsl → mia_processes-2.6.0/mia_processes/bricks/preprocess/volbrain}/__init__.py +6 -2
- mia_processes-2.6.0/mia_processes/bricks/preprocess/volbrain/processes.py +615 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/reports/__init__.py +2 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/reports/processes.py +579 -179
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/reports/reporting.py +816 -67
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/stat/spm/model.py +357 -497
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/tools/__init__.py +2 -0
- mia_processes-2.6.0/mia_processes/bricks/tools/tools.py +2844 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/info.py +10 -11
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/CerebVascularReact/co2_inhalation.py +109 -32
- mia_processes-2.6.0/mia_processes/pipelines/DWITractography/__init__.py +19 -0
- mia_processes-2.6.0/mia_processes/pipelines/DWITractography/dwi_whole_brain_tractography.py +244 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/preprocess/__init__.py +3 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/preprocess/anat_airmask.py +13 -3
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/preprocess/anat_headmask.py +4 -4
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/preprocess/anat_mni_tpms.py +20 -7
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/preprocess/anat_skullstrip.py +5 -5
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/preprocess/anat_skullstrip_synthstrip.py +3 -5
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/preprocess/anat_spatial_norm.py +9 -9
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/preprocess/bold_hmc.py +4 -4
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/preprocess/bold_mni_align.py +7 -7
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/preprocess/bold_spatial_preprocessing1.py +60 -15
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/preprocess/bold_spatial_preprocessing2.py +4 -4
- mia_processes-2.6.0/mia_processes/pipelines/preprocess/dwi_fod_msmt_csd.py +162 -0
- mia_processes-2.6.0/mia_processes/pipelines/preprocess/dwi_preprocessing.py +179 -0
- mia_processes-2.6.0/mia_processes/pipelines/preprocess/dwi_tissue_boundaries.py +183 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/preprocess/spatial_mask.py +9 -9
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/qualityControl/__init__.py +1 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/qualityControl/anat_mriqc.py +14 -14
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/qualityControl/bold_mriqc.py +10 -10
- mia_processes-2.6.0/mia_processes/pipelines/qualityControl/bold_signals_roi.py +459 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/reports/bold_iqms.py +1 -1
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/reports/extract_roi_param.py +22 -42
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/stat/bold_stat_cvr.py +13 -13
- mia_processes-2.6.0/mia_processes/sources_images/__init__.py +2 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/utils/__init__.py +2 -1
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/utils/report.py +2033 -282
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/utils/tools.py +410 -154
- mia_processes-2.6.0/mia_processes.egg-info/PKG-INFO +160 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes.egg-info/SOURCES.txt +13 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes.egg-info/requires.txt +3 -2
- mia_processes-2.6.0/pyproject.toml +105 -0
- mia_processes-2.3.0/PKG-INFO +0 -31
- mia_processes-2.3.0/mia_processes/bricks/preprocess/dipy/processes.py +0 -232
- mia_processes-2.3.0/mia_processes/bricks/preprocess/fsl/processes.py +0 -689
- mia_processes-2.3.0/mia_processes/bricks/tools/tools.py +0 -1548
- mia_processes-2.3.0/mia_processes.egg-info/PKG-INFO +0 -31
- mia_processes-2.3.0/pyproject.toml +0 -48
- {mia_processes-2.3.0 → mia_processes-2.6.0}/LICENSE +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/__init__.py +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/preprocess/afni/__init__.py +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/preprocess/ants/__init__.py +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/preprocess/freesurfer/__init__.py +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/preprocess/spm/__init__.py +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/stat/__init__.py +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/bricks/stat/spm/__init__.py +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/CerebVascularReact/__init__.py +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/__init__.py +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/reports/__init__.py +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/pipelines/stat/__init__.py +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes/process_matlab.py +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes.egg-info/dependency_links.txt +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes.egg-info/not-zip-safe +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/mia_processes.egg-info/top_level.txt +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/setup.cfg +0 -0
- {mia_processes-2.3.0 → mia_processes-2.6.0}/setup.py +0 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: mia_processes
|
|
3
|
+
Version: 2.6.0
|
|
4
|
+
Summary: mia_processes
|
|
5
|
+
Home-page: http://populse.github.io/mia_processes
|
|
6
|
+
Author: Populse team
|
|
7
|
+
Author-email: Populse team <populse-support@univ-grenoble-alpes.fr>
|
|
8
|
+
License: CeCILL-B
|
|
9
|
+
Project-URL: homepage, http://populse.github.io/mia_processes/
|
|
10
|
+
Project-URL: repository, https://github.com/populse/mia_processes
|
|
11
|
+
Platform: OS Independent
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Environment :: Console
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: License :: OSI Approved
|
|
16
|
+
Classifier: Natural Language :: English
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
|
+
Requires-Python: >=3.9
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
Requires-Dist: boto
|
|
27
|
+
Requires-Dist: cmp
|
|
28
|
+
Requires-Dist: cfflib
|
|
29
|
+
Requires-Dist: dipy
|
|
30
|
+
Requires-Dist: nibabel
|
|
31
|
+
Requires-Dist: nilearn
|
|
32
|
+
Requires-Dist: nipy
|
|
33
|
+
Requires-Dist: nipype
|
|
34
|
+
Requires-Dist: nitime
|
|
35
|
+
Requires-Dist: nitransforms
|
|
36
|
+
Requires-Dist: numpy
|
|
37
|
+
Requires-Dist: openpyxl
|
|
38
|
+
Requires-Dist: paramiko
|
|
39
|
+
Requires-Dist: populse-db<3.0.0,>=2.5.0
|
|
40
|
+
Requires-Dist: populse_mia<3.0.0,>=2.5.0
|
|
41
|
+
Requires-Dist: pyxnat
|
|
42
|
+
Requires-Dist: reportlab
|
|
43
|
+
Requires-Dist: scipy
|
|
44
|
+
Requires-Dist: statsmodels
|
|
45
|
+
Requires-Dist: templateflow
|
|
46
|
+
Requires-Dist: torch
|
|
47
|
+
Requires-Dist: vtk
|
|
48
|
+
Provides-Extra: doc
|
|
49
|
+
Requires-Dist: sphinx>=1.0; extra == "doc"
|
|
50
|
+
|
|
51
|
+
# mia_processes
|
|
52
|
+
|
|
53
|
+
<!-- [](https://codecov.io/github/populse/mia_processes) -->
|
|
54
|
+
[](https://github.com/populse/mia_processes/blob/master/LICENSE)
|
|
55
|
+
[](https://pypi.org/project/mia_processes/)
|
|
56
|
+
[](#)
|
|
57
|
+
[](#)
|
|
58
|
+
|
|
59
|
+
# Documentation
|
|
60
|
+
|
|
61
|
+
[The documentation is available in mia_processes's website](https://populse.github.io/mia_processes).
|
|
62
|
+
|
|
63
|
+
# Installation
|
|
64
|
+
|
|
65
|
+
* A compatible version of [Python](https://www.python.org/) (>= 3.5) and [pip](https://packaging.python.org/guides/tool-recommendations/) must be installed.
|
|
66
|
+
|
|
67
|
+
* Depending on the Python setup and OS, the “python3” command can be use as the default Python command.
|
|
68
|
+
|
|
69
|
+
Try:
|
|
70
|
+
`python -V`
|
|
71
|
+
|
|
72
|
+
If it returns `Python 3.x.x`, replace all the `python3` commands below by `python`.
|
|
73
|
+
|
|
74
|
+
If not installed, install it ...
|
|
75
|
+
|
|
76
|
+
* Make sure to have pip installed.
|
|
77
|
+
|
|
78
|
+
Try:
|
|
79
|
+
`pip -V`
|
|
80
|
+
|
|
81
|
+
If it returns a path including `/python3.x/`, replace all the `pip3` commands below by `pip`.
|
|
82
|
+
|
|
83
|
+
If not installed, install it ...
|
|
84
|
+
|
|
85
|
+
* From PyPI
|
|
86
|
+
|
|
87
|
+
* [Install the latest version of mia_processes and its dependencies from the Python Packaging Index](https://docs.python.org/3/installing/index.html):
|
|
88
|
+
|
|
89
|
+
pip3 install mia_processes # depending of the setup, it could be necessary to add --user option
|
|
90
|
+
|
|
91
|
+
* From source, for Linux distributions.
|
|
92
|
+
|
|
93
|
+
* Install a Version Control System, for example [git](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control). Depending of your distribution, [package management system](https://en.wikipedia.org/wiki/Package_manager) can be different:
|
|
94
|
+
|
|
95
|
+
sudo apt-get install git # Debian like
|
|
96
|
+
sudo dnf install git # Fedora 22 and later
|
|
97
|
+
# etc.
|
|
98
|
+
|
|
99
|
+
* Clone the source codes.
|
|
100
|
+
|
|
101
|
+
* Get source codes from Github. Replace [mia_processes_install_dir] with a directory of your choice:
|
|
102
|
+
|
|
103
|
+
git clone https://github.com/populse/mia_processes.git [mia_processes_install_dir]
|
|
104
|
+
|
|
105
|
+
* Or download the zip file (mia_processes-master.zip) of the project ([green button "Clone or download"](https://github.com/populse/mia_processes)), then extract the data in the directory of your choice ([mia_processes_install_dir]):
|
|
106
|
+
|
|
107
|
+
unzip mia_processes-master.zip -d [mia_processes_install_dir] # In this case [mia_processes_install_dir] becomes [mia_processes_install_dir]/mia_processes-master
|
|
108
|
+
|
|
109
|
+
* Install the Python module distribution:
|
|
110
|
+
|
|
111
|
+
cd [mia_processes_install_dir]
|
|
112
|
+
python3 setup.py install # depending of the setup, it could be necessary to add --user option
|
|
113
|
+
|
|
114
|
+
* Remove the [mia_processes_install_dir] directory:
|
|
115
|
+
|
|
116
|
+
cd ..
|
|
117
|
+
rm -r [mia_install_dir]
|
|
118
|
+
|
|
119
|
+
# Third-party softwares
|
|
120
|
+
|
|
121
|
+
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).
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
# Requirements
|
|
125
|
+
|
|
126
|
+
In order to get all the bricks and pipelines proposed by mia_processes some third libraries are required:
|
|
127
|
+
* boto
|
|
128
|
+
* cmp
|
|
129
|
+
* cfflib
|
|
130
|
+
* dipy
|
|
131
|
+
* nibabel
|
|
132
|
+
* nilearn
|
|
133
|
+
* nipy
|
|
134
|
+
* nipype
|
|
135
|
+
* nitime
|
|
136
|
+
* nitransforms
|
|
137
|
+
* numpy
|
|
138
|
+
* openpyxl
|
|
139
|
+
* paramiko
|
|
140
|
+
* populse-db >= 2.5.0, < 3.0.0
|
|
141
|
+
* populse_mia >= 2.5.0, < 3.0.0
|
|
142
|
+
* pyxnat
|
|
143
|
+
* reportlab
|
|
144
|
+
* scipy
|
|
145
|
+
* statsmodels
|
|
146
|
+
* templateflow
|
|
147
|
+
* torch
|
|
148
|
+
* vtk
|
|
149
|
+
|
|
150
|
+
# License
|
|
151
|
+
|
|
152
|
+
* The whole populse project is open source.
|
|
153
|
+
* Mia_processes is precisely released under the CeCILL software license.
|
|
154
|
+
* All license details can be found [here](http://cecill.info/licences/Licence_CeCILL_V2.1-en.html), or refer to the license file [here](https://github.com/populse/mia_processes/blob/master/LICENSE).
|
|
155
|
+
|
|
156
|
+
# Support and Communication
|
|
157
|
+
|
|
158
|
+
In case of a problem or to ask a question about how to do something in mia_processes, please [open an issue](https://github.com/populse/mia_processes/issues).
|
|
159
|
+
|
|
160
|
+
The developer team can even be contacted using populse-support@univ-grenoble-alpes.fr.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- [](https://codecov.io/github/populse/mia_processes) -->
|
|
4
4
|
[](https://github.com/populse/mia_processes/blob/master/LICENSE)
|
|
5
5
|
[](https://pypi.org/project/mia_processes/)
|
|
6
|
-
[](#)
|
|
7
7
|
[](#)
|
|
8
8
|
|
|
9
9
|
# Documentation
|
|
@@ -66,9 +66,17 @@
|
|
|
66
66
|
cd ..
|
|
67
67
|
rm -r [mia_install_dir]
|
|
68
68
|
|
|
69
|
+
# Third-party softwares
|
|
70
|
+
|
|
71
|
+
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).
|
|
72
|
+
|
|
73
|
+
|
|
69
74
|
# Requirements
|
|
70
75
|
|
|
71
76
|
In order to get all the bricks and pipelines proposed by mia_processes some third libraries are required:
|
|
77
|
+
* boto
|
|
78
|
+
* cmp
|
|
79
|
+
* cfflib
|
|
72
80
|
* dipy
|
|
73
81
|
* nibabel
|
|
74
82
|
* nilearn
|
|
@@ -77,13 +85,17 @@ In order to get all the bricks and pipelines proposed by mia_processes some thir
|
|
|
77
85
|
* nitime
|
|
78
86
|
* nitransforms
|
|
79
87
|
* numpy
|
|
80
|
-
*
|
|
81
|
-
*
|
|
88
|
+
* openpyxl
|
|
89
|
+
* paramiko
|
|
90
|
+
* populse-db >= 2.5.0, < 3.0.0
|
|
91
|
+
* populse_mia >= 2.5.0, < 3.0.0
|
|
92
|
+
* pyxnat
|
|
82
93
|
* reportlab
|
|
83
94
|
* scipy
|
|
84
95
|
* statsmodels
|
|
85
96
|
* templateflow
|
|
86
97
|
* torch
|
|
98
|
+
* vtk
|
|
87
99
|
|
|
88
100
|
# License
|
|
89
101
|
|
|
@@ -21,3 +21,13 @@ calculations).
|
|
|
21
21
|
##########################################################################
|
|
22
22
|
|
|
23
23
|
from .info import __version__ # noqa: F401
|
|
24
|
+
|
|
25
|
+
# import importlib.metadata
|
|
26
|
+
|
|
27
|
+
# try:
|
|
28
|
+
# __version__ = importlib.metadata.__version__ = importlib.metadata.version(
|
|
29
|
+
# "populse_mia"
|
|
30
|
+
# )
|
|
31
|
+
|
|
32
|
+
# except importlib.metadata.PackageNotFoundError:
|
|
33
|
+
# __version__ = None
|
|
@@ -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
|
|