antspymm 1.1.1__tar.gz → 1.1.3__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 (46) hide show
  1. {antspymm-1.1.1/antspymm.egg-info → antspymm-1.1.3}/PKG-INFO +21 -2
  2. {antspymm-1.1.1 → antspymm-1.1.3}/README.md +19 -0
  3. {antspymm-1.1.1 → antspymm-1.1.3}/antspymm/__init__.py +6 -0
  4. {antspymm-1.1.1 → antspymm-1.1.3}/antspymm/mm.py +938 -23
  5. {antspymm-1.1.1 → antspymm-1.1.3/antspymm.egg-info}/PKG-INFO +21 -2
  6. {antspymm-1.1.1 → antspymm-1.1.3}/antspymm.egg-info/SOURCES.txt +2 -0
  7. {antspymm-1.1.1 → antspymm-1.1.3}/antspymm.egg-info/requires.txt +1 -1
  8. {antspymm-1.1.1 → antspymm-1.1.3}/docs/antspymm_data_dictionary.csv +9216 -9217
  9. {antspymm-1.1.1 → antspymm-1.1.3}/docs/make_dict_table.Rmd +4 -2
  10. {antspymm-1.1.1 → antspymm-1.1.3}/docs/make_dict_table.html +2 -2
  11. antspymm-1.1.3/docs/roi_visualization.py +128 -0
  12. antspymm-1.1.3/docs/roi_visualization_ppmi.py +31 -0
  13. {antspymm-1.1.1 → antspymm-1.1.3}/setup.py +2 -2
  14. {antspymm-1.1.1 → antspymm-1.1.3}/LICENSE +0 -0
  15. {antspymm-1.1.1 → antspymm-1.1.3}/MANIFEST.in +0 -0
  16. {antspymm-1.1.1 → antspymm-1.1.3}/antspymm.egg-info/dependency_links.txt +0 -0
  17. {antspymm-1.1.1 → antspymm-1.1.3}/antspymm.egg-info/not-zip-safe +0 -0
  18. {antspymm-1.1.1 → antspymm-1.1.3}/antspymm.egg-info/top_level.txt +0 -0
  19. {antspymm-1.1.1 → antspymm-1.1.3}/docs/bids_cohort_example.py +0 -0
  20. {antspymm-1.1.1 → antspymm-1.1.3}/docs/blind_qc.Rmd +0 -0
  21. {antspymm-1.1.1 → antspymm-1.1.3}/docs/blind_qc.html +0 -0
  22. {antspymm-1.1.1 → antspymm-1.1.3}/docs/convert_adni_dti_to_nrg.R +0 -0
  23. {antspymm-1.1.1 → antspymm-1.1.3}/docs/example_run_from_directory.py +0 -0
  24. {antspymm-1.1.1 → antspymm-1.1.3}/docs/nrg_cohort_example.py +0 -0
  25. {antspymm-1.1.1 → antspymm-1.1.3}/docs/outlierness.py +0 -0
  26. {antspymm-1.1.1 → antspymm-1.1.3}/docs/ukbb_to_nrg_processing.py +0 -0
  27. {antspymm-1.1.1 → antspymm-1.1.3}/docs/ukbb_to_nrg_processing2.py +0 -0
  28. {antspymm-1.1.1 → antspymm-1.1.3}/setup.cfg +0 -0
  29. {antspymm-1.1.1 → antspymm-1.1.3}/tests/blind_qc.py +0 -0
  30. {antspymm-1.1.1 → antspymm-1.1.3}/tests/mm.py +0 -0
  31. {antspymm-1.1.1 → antspymm-1.1.3}/tests/mm_nrg.py +0 -0
  32. {antspymm-1.1.1 → antspymm-1.1.3}/tests/outlierness.py +0 -0
  33. {antspymm-1.1.1 → antspymm-1.1.3}/tests/parallel_study_aggregation_example.py +0 -0
  34. {antspymm-1.1.1 → antspymm-1.1.3}/tests/test_bids_2_nrg.py +0 -0
  35. {antspymm-1.1.1 → antspymm-1.1.3}/tests/test_deformation_gradient_reo.py +0 -0
  36. {antspymm-1.1.1 → antspymm-1.1.3}/tests/test_dti_recon.py +0 -0
  37. {antspymm-1.1.1 → antspymm-1.1.3}/tests/test_dti_reg.py +0 -0
  38. {antspymm-1.1.1 → antspymm-1.1.3}/tests/test_dwi_rebasing.py +0 -0
  39. {antspymm-1.1.1 → antspymm-1.1.3}/tests/test_dwi_run.py +0 -0
  40. {antspymm-1.1.1 → antspymm-1.1.3}/tests/test_flair_run.py +0 -0
  41. {antspymm-1.1.1 → antspymm-1.1.3}/tests/test_joint_dti_recon.py +0 -0
  42. {antspymm-1.1.1 → antspymm-1.1.3}/tests/test_mm_csv.py +0 -0
  43. {antspymm-1.1.1 → antspymm-1.1.3}/tests/test_rsfmri_run.py +0 -0
  44. {antspymm-1.1.1 → antspymm-1.1.3}/tests/test_ukbb_rsfmri.py +0 -0
  45. {antspymm-1.1.1 → antspymm-1.1.3}/tests/testsr.py +0 -0
  46. {antspymm-1.1.1 → antspymm-1.1.3}/tests/visualize_tractogram.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: antspymm
3
- Version: 1.1.1
3
+ Version: 1.1.3
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
@@ -18,10 +18,13 @@ Requires-Dist: dipy
18
18
  Requires-Dist: nibabel
19
19
  Requires-Dist: scipy
20
20
  Requires-Dist: siq
21
- Requires-Dist: sklearn
21
+ Requires-Dist: scikit-learn
22
22
 
23
23
  # ANTsPyMM
24
24
 
25
+
26
+ [mapping](https://imgur.com/a/XzpXI3i)
27
+
25
28
  ## processing utilities for timeseries/multichannel images - mostly neuroimaging
26
29
 
27
30
  the outputs of these processes can be used for data inspection/cleaning/triage
@@ -243,6 +246,13 @@ studycsv = antspymm.generate_mm_dataframe(
243
246
  rsf_filenames=[fns[2]])
244
247
  studycsv2 = studycsv.dropna(axis=1)
245
248
  mmrun = antspymm.mm_csv( studycsv2, mysep='_' )
249
+
250
+ # aggregate the data after you've run on many subjects
251
+ # studycsv_all would be the vstacked studycsv2 data frames
252
+ zz=antspymm.aggregate_antspymm_results_sdf( studycsv_all,
253
+ subject_col='subjectID', date_col='date', image_col='imageID', base_path=bd,
254
+ splitsep='_', idsep='-', wild_card_modality_id=True, verbose=True)
255
+
246
256
  ```
247
257
 
248
258
  ## NRG example
@@ -426,6 +436,15 @@ for f in folders:
426
436
  pdoc -o ./docs antspymm --html
427
437
  ```
428
438
 
439
+ ## ssl error
440
+
441
+ if you get an odd certificate error when calling `force_download`, try:
442
+
443
+ ```python
444
+ import ssl
445
+ ssl._create_default_https_context = ssl._create_unverified_context
446
+ ``
447
+
429
448
  ## to publish a release
430
449
 
431
450
  ```
@@ -1,5 +1,8 @@
1
1
  # ANTsPyMM
2
2
 
3
+
4
+ [mapping](https://imgur.com/a/XzpXI3i)
5
+
3
6
  ## processing utilities for timeseries/multichannel images - mostly neuroimaging
4
7
 
5
8
  the outputs of these processes can be used for data inspection/cleaning/triage
@@ -221,6 +224,13 @@ studycsv = antspymm.generate_mm_dataframe(
221
224
  rsf_filenames=[fns[2]])
222
225
  studycsv2 = studycsv.dropna(axis=1)
223
226
  mmrun = antspymm.mm_csv( studycsv2, mysep='_' )
227
+
228
+ # aggregate the data after you've run on many subjects
229
+ # studycsv_all would be the vstacked studycsv2 data frames
230
+ zz=antspymm.aggregate_antspymm_results_sdf( studycsv_all,
231
+ subject_col='subjectID', date_col='date', image_col='imageID', base_path=bd,
232
+ splitsep='_', idsep='-', wild_card_modality_id=True, verbose=True)
233
+
224
234
  ```
225
235
 
226
236
  ## NRG example
@@ -404,6 +414,15 @@ for f in folders:
404
414
  pdoc -o ./docs antspymm --html
405
415
  ```
406
416
 
417
+ ## ssl error
418
+
419
+ if you get an odd certificate error when calling `force_download`, try:
420
+
421
+ ```python
422
+ import ssl
423
+ ssl._create_default_https_context = ssl._create_unverified_context
424
+ ``
425
+
407
426
  ## to publish a release
408
427
 
409
428
  ```
@@ -56,6 +56,8 @@ from .mm import average_mm_df
56
56
  from .mm import get_names_from_data_frame
57
57
  from .mm import read_mm_csv
58
58
  from .mm import assemble_modality_specific_dataframes
59
+ from .mm import aggregate_antspymm_results
60
+ from .mm import aggregate_antspymm_results_sdf
59
61
  from .mm import mc_denoise
60
62
  from .mm import mc_reg
61
63
  from .mm import dti_reg
@@ -90,3 +92,7 @@ from .mm import collect_blind_qc_by_modality
90
92
  from .mm import get_valid_modalities
91
93
  from .mm import study_dataframe_from_matched_dataframe
92
94
  from .mm import merge_wides_to_study_dataframe
95
+ from .mm import map_scalar_to_labels
96
+ from .mm import template_figure_with_overlay
97
+ from .mm import brainmap_figure
98
+ from .mm import bold_perfusion