Bases: nipy.core.image.image_list.ImageList
Class to implement image list interface for FMRI time series
Allows metadata such as volume and slice times
A lightweight implementation of an fMRI image as in ImageList
Parameters: | images: a sliceable object whose items are meant to be images, :
volume_start_times: start time of each frame. It can be specified :
slice_times: ndarray specifying offset for each slice of each frame : |
---|
This function takes an iterable object and returns a generator for
[numpy.asarray(data)[:,item] for item in iterator]
This is used to get time series out of a 4d fMRI image.
Note that if data is an FmriImageList instance, there is more overhead involved in calling numpy.asarray(data) than if data is in Image instance.
If iterables is None, it defaults to range(data.shape[0])
Create an FmriImageList from a 4D Image.
Load an image from the file specified by url and datasource.
Note this assumes that the 4d Affine mapping is such that it can be made into a list of 3d Affine mappings
Parameters: | fourdimage: a 4D Image : volume_start_times: start time of each frame. It can be specified :
slice_times: ndarray specifying offset for each slice of each frame : TODO: watch out for reordering the output coordinates to (x,y,z,t) : |
---|