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 images.
Could be along the the 4th dimension for 4D Niimg-like object or the 2nd dimension for 2D Surface images..
- Parameters:
- imgs4D Niimg-like object or
SurfaceImage
- imgs4D Niimg-like object or
- Returns:
- Iterator of
Nifti1Image
orSurfaceImage
- Iterator of
See also
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