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.
Files changed (57) hide show
  1. {antspymm-1.2.7/antspymm.egg-info → antspymm-1.3.1}/PKG-INFO +9 -6
  2. {antspymm-1.2.7 → antspymm-1.3.1}/README.md +8 -5
  3. {antspymm-1.2.7 → antspymm-1.3.1}/antspymm/__init__.py +9 -0
  4. {antspymm-1.2.7 → antspymm-1.3.1}/antspymm/mm.py +1014 -223
  5. {antspymm-1.2.7 → antspymm-1.3.1/antspymm.egg-info}/PKG-INFO +9 -6
  6. {antspymm-1.2.7 → antspymm-1.3.1}/antspymm.egg-info/SOURCES.txt +4 -0
  7. antspymm-1.3.1/docs/adni_rsfmri_2_nrg_conversion.py +47 -0
  8. antspymm-1.3.1/docs/antspymm_data_dictionary.csv +3434 -0
  9. antspymm-1.3.1/docs/deepnbm.jpg +0 -0
  10. antspymm-1.3.1/docs/example_antspymm_output.csv +3 -0
  11. {antspymm-1.2.7 → antspymm-1.3.1}/docs/make_dict_table.Rmd +148 -261
  12. antspymm-1.3.1/docs/make_dict_table.html +2678 -0
  13. {antspymm-1.2.7 → antspymm-1.3.1}/setup.py +1 -1
  14. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_joint_dti_recon.py +1 -1
  15. antspymm-1.3.1/tests/test_nrg_validation.py +58 -0
  16. antspymm-1.2.7/docs/antspymm_data_dictionary.csv +0 -11507
  17. antspymm-1.2.7/docs/make_dict_table.html +0 -2706
  18. {antspymm-1.2.7 → antspymm-1.3.1}/LICENSE +0 -0
  19. {antspymm-1.2.7 → antspymm-1.3.1}/MANIFEST.in +0 -0
  20. {antspymm-1.2.7 → antspymm-1.3.1}/antspymm.egg-info/dependency_links.txt +0 -0
  21. {antspymm-1.2.7 → antspymm-1.3.1}/antspymm.egg-info/not-zip-safe +0 -0
  22. {antspymm-1.2.7 → antspymm-1.3.1}/antspymm.egg-info/requires.txt +0 -0
  23. {antspymm-1.2.7 → antspymm-1.3.1}/antspymm.egg-info/top_level.txt +0 -0
  24. {antspymm-1.2.7 → antspymm-1.3.1}/docs/bids_cohort_example.py +0 -0
  25. {antspymm-1.2.7 → antspymm-1.3.1}/docs/blind_qc.Rmd +0 -0
  26. {antspymm-1.2.7 → antspymm-1.3.1}/docs/blind_qc.html +0 -0
  27. {antspymm-1.2.7 → antspymm-1.3.1}/docs/convert_adni_dti_to_nrg.R +0 -0
  28. {antspymm-1.2.7 → antspymm-1.3.1}/docs/example_run_from_directory.py +0 -0
  29. {antspymm-1.2.7 → antspymm-1.3.1}/docs/nrg_cohort_example.py +0 -0
  30. {antspymm-1.2.7 → antspymm-1.3.1}/docs/outlierness.py +0 -0
  31. {antspymm-1.2.7 → antspymm-1.3.1}/docs/ptbp_nrg.py +0 -0
  32. {antspymm-1.2.7 → antspymm-1.3.1}/docs/roi_visualization.py +0 -0
  33. {antspymm-1.2.7 → antspymm-1.3.1}/docs/roi_visualization_ppmi.py +0 -0
  34. {antspymm-1.2.7 → antspymm-1.3.1}/docs/ukbb_to_nrg_processing.py +0 -0
  35. {antspymm-1.2.7 → antspymm-1.3.1}/docs/ukbb_to_nrg_processing2.py +0 -0
  36. {antspymm-1.2.7 → antspymm-1.3.1}/setup.cfg +0 -0
  37. {antspymm-1.2.7 → antspymm-1.3.1}/tests/blind_qc.py +0 -0
  38. {antspymm-1.2.7 → antspymm-1.3.1}/tests/mm.py +0 -0
  39. {antspymm-1.2.7 → antspymm-1.3.1}/tests/mm_nrg.py +0 -0
  40. {antspymm-1.2.7 → antspymm-1.3.1}/tests/outlierness.py +0 -0
  41. {antspymm-1.2.7 → antspymm-1.3.1}/tests/parallel_study_aggregation_example.py +0 -0
  42. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_bids_2_nrg.py +0 -0
  43. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_deformation_gradient_reo.py +0 -0
  44. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_dti_recon.py +0 -0
  45. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_dti_reg.py +0 -0
  46. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_dwi_rebasing.py +0 -0
  47. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_dwi_run.py +0 -0
  48. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_dwi_run_ptbp_scrub.py +0 -0
  49. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_flair_run.py +0 -0
  50. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_mm_csv.py +0 -0
  51. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_perfusion_ptbp.py +0 -0
  52. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_perfusion_run.py +0 -0
  53. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_rsfmri_run.py +0 -0
  54. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_rsfmri_run_minimal.py +0 -0
  55. {antspymm-1.2.7 → antspymm-1.3.1}/tests/test_ukbb_rsfmri.py +0 -0
  56. {antspymm-1.2.7 → antspymm-1.3.1}/tests/testsr.py +0 -0
  57. {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.2.7
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
+ ![mapping](https://i.imgur.com/qKqYjU9.jpeg)
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 (egMTL) 10.1101/2023.01.17.23284693
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 10.1016/j.conb.2012.12.009 to estimate network specific correlations
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
+ ![mapping](https://i.imgur.com/qKqYjU9.jpeg)
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 (egMTL) 10.1101/2023.01.17.23284693
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 10.1016/j.conb.2012.12.009 to estimate network specific correlations
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