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.7. 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

Returns:

output: iterator of 3D nibabel.Nifti1Image