Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

nilearn.image.iter_img#

nilearn.image.iter_img(imgs)[source]#

Iterate over a 4D Niimg-like object in the fourth dimension.

Parameters:
imgs4D Niimg-like object

See Input and output: neuroimaging data representation.

Returns:
Iterator of 3D Nifti1Image

Examples using nilearn.image.iter_img#

Deriving spatial maps from group fMRI data using ICA and Dictionary Learning

Deriving spatial maps from group fMRI data using ICA and Dictionary Learning