Inheritance diagram for nipy.modalities.fmri.fmristat.model:
This module defines the two default GLM passes of fmristat
Second pass through fmri_image.
Parameters: | fmri_image : FmriImageList formula : nipy.modalities.fmri.protocol.Formula rho : Image of AR(1) coefficients. |
---|
These images have their values filled in as the model is fit, and are saved to disk after being completely filled in.
They are saved to disk by calling the ‘save’ method.
The __getitem__ and __setitem__ calls are delegated to a private Image. An exception is raised if trying to get/set data after the data has been saved to disk.
First pass through fmri_image.
Parameters: | fmri_image : FmriImageList formula : nipy.modalities.fmri.protocol.Formula |
---|
Write out results of a given output.
In the regression setting, results is generally going to be a scipy.stats.models.model.LikelihoodModelResults instance.
Create an output file of the AR1 parameter from the OLS pass of fmristat.
image: FmriImageList
Parameters: | outbase : string
contrast : a TContrast |
---|
Create an output file of the residuals parameter from the OLS pass of fmristat.
Uses affine part of the first image to output resids unless fmri_image is an Image.
Generator for results from an iterator that returns (index, data, model) tuples.
See model_generator.