Source code for nidata.atlas.icbm152_2009
# *- encoding: utf-8 -*-
# Author: Ben Cipollini
# License: simplified BSD
from ...core.datasets import NilearnDataset
[docs]class ICBM152Dataset(NilearnDataset):
fetcher_function = 'nilearn.datasets.fetch_icbm152_2009'
[docs] def fetch(self, url=None, resume=True, verbose=1):
super(ICBM152Dataset, self).fetch(data_dir=self.data_dir,
url=url, resume=resume,
verbose=verbose)
[docs]def fetch_icbm152_2009(data_dir=None, url=None, resume=True, verbose=1):
return ICBM152Dataset(data_dir=data_dir) \
.fetch(url=url, resume=resume, verbose=verbose)