nilearn.glm
: Generalized Linear Models#
Analysing fMRI data using GLMs.
Classes:
| The contrast class handles the estimation of statistical contrasts on a given model: student (t) or Fisher (F). |
| Results from an F contrast of coefficients in a parametric model. |
| Results from a t contrast of coefficients in a parametric model. |
| A regression model with an AR(p) covariance structure. |
| A simple ordinary least squares model. |
| Class to contain results from likelihood models. |
| This class summarizes the fit of a linear regression model. |
| This class contains only information of the model fit necessary for contrast computation. |
Functions:
| Compute the specified contrast given an estimated glm |
| Compute the fixed effects, given images of effects and variance |
| Converts a string describing a contrast to a contrast vector |
| Return the Benjamini-Hochberg FDR threshold for the input z_vals |
| Report the proportion of active voxels for all clusters defined by the input threshold. |
| Compute the required threshold level and return the thresholded map |
nilearn.glm.first_level
#
Classes:
| Implementation of the General Linear Model for single session fMRI data. |
Functions:
| Check that the provided DataFrame is indeed a valid design matrix descriptor, and returns a triplet of fields |
| This is the main function to convolve regressors with hrf model |
| Create FirstLevelModel objects and fit arguments from a BIDS dataset. |
| Implementation of the Glover dispersion derivative hrf model |
| Implementation of the Glover hrf model |
| Implementation of the Glover time derivative hrf (dhrf) model |
| Generate a design matrix from the input parameters |
| Scaling of the data to have percent of baseline change along the specified axis |
| GLM fit for an fMRI data matrix |
| Implementation of the SPM dispersion derivative hrf model |
| Implementation of the SPM hrf model |
| Implementation of the SPM time derivative hrf (dhrf) model |
nilearn.glm.second_level
#
Classes:
| Implementation of the General Linear Model for multiple subject fMRI data. |
Functions:
| Sets up a second level design. |
| Generate p-values corresponding to the contrasts provided based on permutation testing. |