nilearn.input_data: Loading and Processing Files Easily#

The nilearn.input_data module used to include masker objects. It is deprecated since release 0.9.0 in favor of the maskers module.

Please consider updating your code:

becomes:

Note that all imports that used to work will continue to do so with a simple warning at least until release 0.13.0.

User guide: See the NiftiMasker: applying a mask to load time-series section for further details.

Classes:

NiftiMasker([mask_img, runs, ...])

Applying a mask to extract time-series from Niimg-like objects.

MultiNiftiMasker([mask_img, smoothing_fwhm, ...])

Class for masking of Niimg-like objects.

NiftiLabelsMasker(labels_img[, labels, ...])

Class for masking of Niimg-like objects.

NiftiMapsMasker(maps_img[, mask_img, ...])

Class for masking of Niimg-like objects.

NiftiSpheresMasker(seeds[, radius, ...])

Class for masking of Niimg-like objects using seeds.