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.

7.5.9. nilearn.image.iter_img

nilearn.image.iter_img(imgs)

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

Parameters
imgs: 4D Niimg-like object

See http://nilearn.github.io/manipulating_images/input_output.html

Returns
output: iterator of 3D nibabel.Nifti1Image