README.rst 727 B

123456789101112131415161718192021222324252627282930
  1. freesurfer-stats
  2. ================
  3. TODO add badges
  4. Python Library to Read FreeSurfer's cortical parcellation anatomical statistics
  5. Freesurfer https://surfer.nmr.mgh.harvard.edu/
  6. Install
  7. -------
  8. .. code:: sh
  9. pip3 install --user freesurfer-stats
  10. Releases follow the `semantic versioning <https://semver.org/>` scheme.
  11. Usage
  12. -----
  13. .. code:: python
  14. >>> stats = CorticalParcellationStats.read('tests/subjects/fabian/stats/lh.aparc.DKTatlas.stats')
  15. >>> stats.creation_time.isoformat()
  16. '2019-05-09T21:05:54+00:00'
  17. >>> stats.cvs_version
  18. 'Id: mris_anatomical_stats.c,v 1.79 2016/03/14 15:15:34 greve Exp'
  19. >>> stats.cmdline[:64]
  20. 'mris_anatomical_stats -th3 -mgz -cortex ../label/lh.cortex.label'