Bez popisu

Fabian Peter Hammerle 9f97bd4982 travis-ci: exclude pandas-version<=0.23 && python>=3.7 due to compile error před 5 roky
examples dc771c0829 accept multiple args for positional param `root_dir_paths` před 5 roky
freesurfer_volume_reader a1c6387cb7 loosen pandas version constraint from >=0.24.0 to >=0.21.0 před 5 roky
tests a1c6387cb7 loosen pandas version constraint from >=0.24.0 to >=0.21.0 před 5 roky
.pylintrc 07b02d4e5b pylint: disable missing-docstring před 5 roky
.travis.yml 9f97bd4982 travis-ci: exclude pandas-version<=0.23 && python>=3.7 due to compile error před 5 roky
Pipfile 8fd97e7d69 added failing test covering invalid root path '/' před 5 roky
Pipfile.lock 8fd97e7d69 added failing test covering invalid root path '/' před 5 roky
README.md dc771c0829 accept multiple args for positional param `root_dir_paths` před 5 roky
setup.py a1c6387cb7 loosen pandas version constraint from >=0.24.0 to >=0.21.0 před 5 roky

README.md

freesurfer-volume-reader

Build Status

Python script & library to read hippocampal subfield volumes computed by Freesurfer

https://surfer.nmr.mgh.harvard.edu/fswiki/HippocampalSubfields

Install

pip3 install --user freesurfer-volume-reader
freesurfer-volume-reader --help

Usage

export SUBJECTS_DIR=/my/freesurfer/subjects
freesurfer-volume-reader

or

freesurfer-volume-reader /my/freesurfer/subjects
freesurfer-volume-reader /my/freesurfer/subjects /other/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))

Tests

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