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.

8.5.9. nilearn.image.iter_img

nilearn.image.iter_img(imgs)

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

Parameters
imgs4D Niimg-like object

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

Returns
Iterator of 3D Nifti1Image