antspymm 1.1.2__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.2/antspymm.egg-info → antspymm-1.1.3}/PKG-INFO +18 -2
  2. {antspymm-1.1.2 → antspymm-1.1.3}/README.md +16 -0
  3. {antspymm-1.1.2 → antspymm-1.1.3}/antspymm/__init__.py +3 -0
  4. {antspymm-1.1.2 → antspymm-1.1.3}/antspymm/mm.py +704 -35
  5. {antspymm-1.1.2 → antspymm-1.1.3/antspymm.egg-info}/PKG-INFO +18 -2
  6. {antspymm-1.1.2 → antspymm-1.1.3}/antspymm.egg-info/requires.txt +1 -1
  7. {antspymm-1.1.2 → antspymm-1.1.3}/docs/antspymm_data_dictionary.csv +9216 -9217
  8. {antspymm-1.1.2 → antspymm-1.1.3}/docs/make_dict_table.Rmd +4 -2
  9. {antspymm-1.1.2 → antspymm-1.1.3}/docs/make_dict_table.html +2 -2
  10. {antspymm-1.1.2 → antspymm-1.1.3}/docs/roi_visualization_ppmi.py +13 -10
  11. {antspymm-1.1.2 → antspymm-1.1.3}/setup.py +2 -2
  12. {antspymm-1.1.2 → antspymm-1.1.3}/LICENSE +0 -0
  13. {antspymm-1.1.2 → antspymm-1.1.3}/MANIFEST.in +0 -0
  14. {antspymm-1.1.2 → antspymm-1.1.3}/antspymm.egg-info/SOURCES.txt +0 -0
  15. {antspymm-1.1.2 → antspymm-1.1.3}/antspymm.egg-info/dependency_links.txt +0 -0
  16. {antspymm-1.1.2 → antspymm-1.1.3}/antspymm.egg-info/not-zip-safe +0 -0
  17. {antspymm-1.1.2 → antspymm-1.1.3}/antspymm.egg-info/top_level.txt +0 -0
  18. {antspymm-1.1.2 → antspymm-1.1.3}/docs/bids_cohort_example.py +0 -0
  19. {antspymm-1.1.2 → antspymm-1.1.3}/docs/blind_qc.Rmd +0 -0
  20. {antspymm-1.1.2 → antspymm-1.1.3}/docs/blind_qc.html +0 -0
  21. {antspymm-1.1.2 → antspymm-1.1.3}/docs/convert_adni_dti_to_nrg.R +0 -0
  22. {antspymm-1.1.2 → antspymm-1.1.3}/docs/example_run_from_directory.py +0 -0
  23. {antspymm-1.1.2 → antspymm-1.1.3}/docs/nrg_cohort_example.py +0 -0
  24. {antspymm-1.1.2 → antspymm-1.1.3}/docs/outlierness.py +0 -0
  25. {antspymm-1.1.2 → antspymm-1.1.3}/docs/roi_visualization.py +0 -0
  26. {antspymm-1.1.2 → antspymm-1.1.3}/docs/ukbb_to_nrg_processing.py +0 -0
  27. {antspymm-1.1.2 → antspymm-1.1.3}/docs/ukbb_to_nrg_processing2.py +0 -0
  28. {antspymm-1.1.2 → antspymm-1.1.3}/setup.cfg +0 -0
  29. {antspymm-1.1.2 → antspymm-1.1.3}/tests/blind_qc.py +0 -0
  30. {antspymm-1.1.2 → antspymm-1.1.3}/tests/mm.py +0 -0
  31. {antspymm-1.1.2 → antspymm-1.1.3}/tests/mm_nrg.py +0 -0
  32. {antspymm-1.1.2 → antspymm-1.1.3}/tests/outlierness.py +0 -0
  33. {antspymm-1.1.2 → antspymm-1.1.3}/tests/parallel_study_aggregation_example.py +0 -0
  34. {antspymm-1.1.2 → antspymm-1.1.3}/tests/test_bids_2_nrg.py +0 -0
  35. {antspymm-1.1.2 → antspymm-1.1.3}/tests/test_deformation_gradient_reo.py +0 -0
  36. {antspymm-1.1.2 → antspymm-1.1.3}/tests/test_dti_recon.py +0 -0
  37. {antspymm-1.1.2 → antspymm-1.1.3}/tests/test_dti_reg.py +0 -0
  38. {antspymm-1.1.2 → antspymm-1.1.3}/tests/test_dwi_rebasing.py +0 -0
  39. {antspymm-1.1.2 → antspymm-1.1.3}/tests/test_dwi_run.py +0 -0
  40. {antspymm-1.1.2 → antspymm-1.1.3}/tests/test_flair_run.py +0 -0
  41. {antspymm-1.1.2 → antspymm-1.1.3}/tests/test_joint_dti_recon.py +0 -0
  42. {antspymm-1.1.2 → antspymm-1.1.3}/tests/test_mm_csv.py +0 -0
  43. {antspymm-1.1.2 → antspymm-1.1.3}/tests/test_rsfmri_run.py +0 -0
  44. {antspymm-1.1.2 → antspymm-1.1.3}/tests/test_ukbb_rsfmri.py +0 -0
  45. {antspymm-1.1.2 → antspymm-1.1.3}/tests/testsr.py +0 -0
  46. {antspymm-1.1.2 → 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.2
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,7 +18,7 @@ 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
 
@@ -246,6 +246,13 @@ studycsv = antspymm.generate_mm_dataframe(
246
246
  rsf_filenames=[fns[2]])
247
247
  studycsv2 = studycsv.dropna(axis=1)
248
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
+
249
256
  ```
250
257
 
251
258
  ## NRG example
@@ -429,6 +436,15 @@ for f in folders:
429
436
  pdoc -o ./docs antspymm --html
430
437
  ```
431
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
+
432
448
  ## to publish a release
433
449
 
434
450
  ```
@@ -224,6 +224,13 @@ studycsv = antspymm.generate_mm_dataframe(
224
224
  rsf_filenames=[fns[2]])
225
225
  studycsv2 = studycsv.dropna(axis=1)
226
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
+
227
234
  ```
228
235
 
229
236
  ## NRG example
@@ -407,6 +414,15 @@ for f in folders:
407
414
  pdoc -o ./docs antspymm --html
408
415
  ```
409
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
+
410
426
  ## to publish a release
411
427
 
412
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
@@ -93,3 +95,4 @@ from .mm import merge_wides_to_study_dataframe
93
95
  from .mm import map_scalar_to_labels
94
96
  from .mm import template_figure_with_overlay
95
97
  from .mm import brainmap_figure
98
+ from .mm import bold_perfusion