fepegar/torchio

View on GitHub
src/torchio/datasets/mni/mni.py

Summary

Maintainability
A
0 mins
Test Coverage
from ...data.subject import _RawSubjectCopySubject
from ...utils import get_torchio_cache_dir


class SubjectMNI(_RawSubjectCopySubject):
    """Atlases from the Montreal Neurological Institute (MNI).

    See `the website <http://nist.mni.mcgill.ca/?page_id=714>`_ for more
    information.
    """

    url_base = 'http://packages.bic.mni.mcgill.ca/mni-models/'

    @property
    def download_root(self):
        return get_torchio_cache_dir() / self.name