tedana.utils.reshape_niimg

reshape_niimg(data)[source]

Take input data and return a sample x time array.

Parameters:

data ((X x Y x Z [x T]) array_like or img_like object) – Data array or data file to be loaded and reshaped

Returns:

fdata ((S [x T]) numpy.ndarray) – Reshaped data, where S is samples and T is time