Fabian Peter Hammerle 6882ef0878 fix indeterministic integration test: sort rows before comparison | 5 years ago | |
---|---|---|
freesurfer_volume_reader | 5 years ago | |
tests | 5 years ago | |
.pylintrc | 5 years ago | |
.travis.yml | 5 years ago | |
Pipfile | 5 years ago | |
Pipfile.lock | 5 years ago | |
README.md | 5 years ago | |
setup.py | 5 years ago |
Python script & library to read hippocampal subfield volumes computed by Freesurfer
https://surfer.nmr.mgh.harvard.edu/fswiki/HippocampalSubfields
pip3 install --user freesurfer-volume-reader
freesurfer-volume-reader --help
export SUBJECTS_DIR=/my/freesurfer/subjects
freesurfer-volume-reader
or
freesurfer-volume-reader /my/freesurfer/subjects
or
from freesurfer_volume_reader import find_hippocampal_volume_files, \
read_hippocampal_volume_file_dataframe
for volume_file_path in find_hippocampal_volume_files('/my/freesurfer/subjects'):
print(read_hippocampal_volume_file_dataframe(volume_file_path))
pip3 install --user pipenv
git clone https://github.com/fphammerle/freesurfer-volume-reader.git
cd freesurfer-volume-reader
pipenv run pylint freesurfer_volume_reader
pipenv run pytest