Source code for nidata.atlas.craddock_2012

# *- encoding: utf-8 -*-
# Author: Ben Cipollini
# License: simplified BSD


from ...core.datasets import NilearnDataset


[docs]class Craddock2012Dataset(NilearnDataset): fetcher_function = 'nilearn.datasets.fetch_atlas_craddock_2012'
[docs] def fetch(self, url=None, resume=True, verbose=1): super(Craddock2012Dataset, self).fetch(data_dir=self.data_dir, url=url, resume=resume, verbose=verbose)
[docs]def fetch_atlas_craddock_2012(data_dir=None, url=None, resume=True, verbose=1): return Craddock2012Dataset(data_dir=data_dir) \ .fetch(url=url, resume=resume, verbose=verbose)