antspymm 1.2.7__tar.gz → 1.3.1__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.
- {antspymm-1.2.7/antspymm.egg-info → antspymm-1.3.1}/PKG-INFO +9 -6
- {antspymm-1.2.7 → antspymm-1.3.1}/README.md +8 -5
- {antspymm-1.2.7 → antspymm-1.3.1}/antspymm/__init__.py +9 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/antspymm/mm.py +1014 -223
- {antspymm-1.2.7 → antspymm-1.3.1/antspymm.egg-info}/PKG-INFO +9 -6
- {antspymm-1.2.7 → antspymm-1.3.1}/antspymm.egg-info/SOURCES.txt +4 -0
- antspymm-1.3.1/docs/adni_rsfmri_2_nrg_conversion.py +47 -0
- antspymm-1.3.1/docs/antspymm_data_dictionary.csv +3434 -0
- antspymm-1.3.1/docs/deepnbm.jpg +0 -0
- antspymm-1.3.1/docs/example_antspymm_output.csv +3 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/make_dict_table.Rmd +148 -261
- antspymm-1.3.1/docs/make_dict_table.html +2678 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/setup.py +1 -1
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_joint_dti_recon.py +1 -1
- antspymm-1.3.1/tests/test_nrg_validation.py +58 -0
- antspymm-1.2.7/docs/antspymm_data_dictionary.csv +0 -11507
- antspymm-1.2.7/docs/make_dict_table.html +0 -2706
- {antspymm-1.2.7 → antspymm-1.3.1}/LICENSE +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/MANIFEST.in +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/antspymm.egg-info/dependency_links.txt +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/antspymm.egg-info/not-zip-safe +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/antspymm.egg-info/requires.txt +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/antspymm.egg-info/top_level.txt +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/bids_cohort_example.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/blind_qc.Rmd +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/blind_qc.html +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/convert_adni_dti_to_nrg.R +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/example_run_from_directory.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/nrg_cohort_example.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/outlierness.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/ptbp_nrg.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/roi_visualization.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/roi_visualization_ppmi.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/ukbb_to_nrg_processing.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/docs/ukbb_to_nrg_processing2.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/setup.cfg +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/blind_qc.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/mm.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/mm_nrg.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/outlierness.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/parallel_study_aggregation_example.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_bids_2_nrg.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_deformation_gradient_reo.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_dti_recon.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_dti_reg.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_dwi_rebasing.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_dwi_run.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_dwi_run_ptbp_scrub.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_flair_run.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_mm_csv.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_perfusion_ptbp.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_perfusion_run.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_rsfmri_run.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_rsfmri_run_minimal.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_ukbb_rsfmri.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/testsr.py +0 -0
- {antspymm-1.2.7 → antspymm-1.3.1}/tests/visualize_tractogram.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: antspymm
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.3.1
|
4
4
|
Summary: multi-channel/time-series medical image processing with antspyx
|
5
5
|
Home-page: https://github.com/stnava/ANTsPyMM
|
6
6
|
Author: Avants, Gosselin, Tustison, Reardon
|
@@ -22,8 +22,7 @@ Requires-Dist: scikit-learn
|
|
22
22
|
|
23
23
|
# ANTsPyMM
|
24
24
|
|
25
|
-
|
26
|
-
[mapping](https://imgur.com/a/XzpXI3i)
|
25
|
+

|
27
26
|
|
28
27
|
## processing utilities for timeseries/multichannel images - mostly neuroimaging
|
29
28
|
|
@@ -57,16 +56,18 @@ ANTsPyMM will process several types of brain MRI into tabular form as well as no
|
|
57
56
|
|
58
57
|
* basal forebrain (Avants et al HBM 2022 abstract)
|
59
58
|
|
60
|
-
* other regions (
|
59
|
+
* other regions (eg MTL) 10.1101/2023.01.17.23284693
|
61
60
|
|
62
61
|
* also produces jacobian data
|
63
62
|
|
64
63
|
* rsfMRI: resting state functional MRI
|
65
64
|
|
66
|
-
* uses
|
65
|
+
* uses [a recent homotopic parcellation](https://pubmed.ncbi.nlm.nih.gov/36918136/) to estimate network specific correlations
|
67
66
|
|
68
67
|
* f/ALFF 10.1016/j.jneumeth.2008.04.012
|
69
68
|
|
69
|
+
* [percent absolute fluctuation](https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2022.888174/full)
|
70
|
+
|
70
71
|
* NM2DMT: neuromelanin mid-brain images
|
71
72
|
|
72
73
|
* CIT168 template 10.1101/211201
|
@@ -124,6 +125,8 @@ package data is installed.
|
|
124
125
|
|
125
126
|
NOTE: some functions in `antspynet` will download deep network model weights on the fly. if one is containerizing, then it would be worth running a test case through in the container to make sure all the relevant weights are pre-downloaded.
|
126
127
|
|
128
|
+
NOTE: an example process for BIDS data on a cluster is [here](https://github.com/stnava/ANTPD_antspymm). this repo is also a good place to try to learn how to use this tool.
|
129
|
+
|
127
130
|
# example processing
|
128
131
|
|
129
132
|
see the latest help but this snippet gives an idea of how one might use the package:
|
@@ -205,7 +208,7 @@ matched_mm_data2.to_csv( "matched_mm_data2.csv", index=False )
|
|
205
208
|
|
206
209
|
## an example on open neuro (BIDS) data
|
207
210
|
|
208
|
-
from : [ANT PD](https://openneuro.org/datasets/ds001907/versions/3.0.2)
|
211
|
+
from : [ANT PD](https://openneuro.org/datasets/ds001907/versions/3.0.2) see also [this repo](https://github.com/stnava/ANTPD_antspymm).
|
209
212
|
|
210
213
|
```
|
211
214
|
imagesBIDS/
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# ANTsPyMM
|
2
2
|
|
3
|
-
|
4
|
-
[mapping](https://imgur.com/a/XzpXI3i)
|
3
|
+

|
5
4
|
|
6
5
|
## processing utilities for timeseries/multichannel images - mostly neuroimaging
|
7
6
|
|
@@ -35,16 +34,18 @@ ANTsPyMM will process several types of brain MRI into tabular form as well as no
|
|
35
34
|
|
36
35
|
* basal forebrain (Avants et al HBM 2022 abstract)
|
37
36
|
|
38
|
-
* other regions (
|
37
|
+
* other regions (eg MTL) 10.1101/2023.01.17.23284693
|
39
38
|
|
40
39
|
* also produces jacobian data
|
41
40
|
|
42
41
|
* rsfMRI: resting state functional MRI
|
43
42
|
|
44
|
-
* uses
|
43
|
+
* uses [a recent homotopic parcellation](https://pubmed.ncbi.nlm.nih.gov/36918136/) to estimate network specific correlations
|
45
44
|
|
46
45
|
* f/ALFF 10.1016/j.jneumeth.2008.04.012
|
47
46
|
|
47
|
+
* [percent absolute fluctuation](https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2022.888174/full)
|
48
|
+
|
48
49
|
* NM2DMT: neuromelanin mid-brain images
|
49
50
|
|
50
51
|
* CIT168 template 10.1101/211201
|
@@ -102,6 +103,8 @@ package data is installed.
|
|
102
103
|
|
103
104
|
NOTE: some functions in `antspynet` will download deep network model weights on the fly. if one is containerizing, then it would be worth running a test case through in the container to make sure all the relevant weights are pre-downloaded.
|
104
105
|
|
106
|
+
NOTE: an example process for BIDS data on a cluster is [here](https://github.com/stnava/ANTPD_antspymm). this repo is also a good place to try to learn how to use this tool.
|
107
|
+
|
105
108
|
# example processing
|
106
109
|
|
107
110
|
see the latest help but this snippet gives an idea of how one might use the package:
|
@@ -183,7 +186,7 @@ matched_mm_data2.to_csv( "matched_mm_data2.csv", index=False )
|
|
183
186
|
|
184
187
|
## an example on open neuro (BIDS) data
|
185
188
|
|
186
|
-
from : [ANT PD](https://openneuro.org/datasets/ds001907/versions/3.0.2)
|
189
|
+
from : [ANT PD](https://openneuro.org/datasets/ds001907/versions/3.0.2) see also [this repo](https://github.com/stnava/ANTPD_antspymm).
|
187
190
|
|
188
191
|
```
|
189
192
|
imagesBIDS/
|
@@ -81,6 +81,7 @@ from .mm import version
|
|
81
81
|
from .mm import best_mmm
|
82
82
|
from .mm import nrg_2_bids
|
83
83
|
from .mm import bids_2_nrg
|
84
|
+
from .mm import validate_nrg_file_format
|
84
85
|
from .mm import parse_nrg_filename
|
85
86
|
from .mm import novelty_detection_ee
|
86
87
|
from .mm import novelty_detection_svm
|
@@ -122,4 +123,12 @@ from .mm import clean_tmp_directory
|
|
122
123
|
from .mm import dict_to_dataframe
|
123
124
|
from .mm import PerAF
|
124
125
|
from .mm import get_antsimage_keys
|
126
|
+
from .mm import filter_columns_by_nan_percentage
|
127
|
+
from .mm import nrg_filename_to_subjectvisit
|
128
|
+
from .mm import add_repeat_column
|
129
|
+
from .mm import mm_match_by_qc_scoring
|
130
|
+
from .mm import mm_match_by_qc_scoring_all
|
131
|
+
from .mm import fix_LR_RL_stuff
|
132
|
+
from .mm import segment_timeseries_by_bvalue
|
133
|
+
|
125
134
|
|