.. _datasets_ref:

:mod:`nilearn.datasets`: Automatic Dataset Fetching
===================================================

.. automodule:: nilearn.datasets
   :no-members:
   :no-inherited-members:

**User guide:** See the :ref:`datasets` section for further details.

Templates
---------

**Functions**:

.. currentmodule:: nilearn.datasets

.. autosummary::
   :toctree: generated/
   :template: function.rst

   fetch_icbm152_2009
   fetch_icbm152_brain_gm_mask
   fetch_surf_fsaverage
   load_mni152_brain_mask
   load_mni152_gm_mask
   load_mni152_gm_template
   load_mni152_template
   load_mni152_wm_mask
   load_mni152_wm_template

Atlases
-------

**Functions**:

.. currentmodule:: nilearn.datasets

.. autosummary::
   :toctree: generated/
   :template: function.rst

   fetch_atlas_aal
   fetch_atlas_allen_2011
   fetch_atlas_basc_multiscale_2015
   fetch_atlas_craddock_2012
   fetch_atlas_destrieux_2009
   fetch_atlas_difumo
   fetch_atlas_harvard_oxford
   fetch_atlas_juelich
   fetch_atlas_msdl
   fetch_atlas_pauli_2017
   fetch_atlas_schaefer_2018
   fetch_atlas_smith_2009
   fetch_atlas_surf_destrieux
   fetch_atlas_talairach
   fetch_atlas_yeo_2011
   fetch_coords_dosenbach_2010
   fetch_coords_power_2011
   fetch_coords_seitzman_2018

Preprocessed datasets
---------------------

**Functions**:

.. currentmodule:: nilearn.datasets

.. autosummary::
   :toctree: generated/
   :template: function.rst

   fetch_abide_pcp
   fetch_adhd
   fetch_bids_langloc_dataset
   fetch_development_fmri
   fetch_ds000030_urls
   fetch_fiac_first_level
   fetch_haxby
   fetch_language_localizer_demo_dataset
   fetch_localizer_first_level
   fetch_miyawaki2008
   fetch_openneuro_dataset_index
   fetch_spm_auditory
   fetch_spm_multimodal_fmri
   fetch_surf_nki_enhanced

Statistical maps/derivatives
----------------------------

**Functions**:

.. currentmodule:: nilearn.datasets

.. autosummary::
   :toctree: generated/
   :template: function.rst

   fetch_localizer_button_task
   fetch_localizer_calculation_task
   fetch_localizer_contrasts
   fetch_megatrawls_netmats
   fetch_mixed_gambles
   fetch_oasis_vbm
   fetch_neurovault_auditory_computation_task
   fetch_neurovault_motor_task

General functions
-----------------

**Functions**:

.. currentmodule:: nilearn.datasets

.. autosummary::
   :toctree: generated/
   :template: function.rst

   fetch_neurovault
   fetch_neurovault_ids
   fetch_openneuro_dataset
   get_data_dirs
   patch_openneuro_dataset
   select_from_index
   load_sample_motor_activation_image
