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.

nilearn.interfaces.fsl.get_design_from_fslmat

nilearn.interfaces.fsl.get_design_from_fslmat(fsl_design_matrix_path, column_names=None)[source]

Extract design matrix dataframe from FSL mat file.

Parameters:
fsl_design_matrix_pathstr

Path to the FSL design matrix file.

column_namesNone or list of str, default=None

The names of the columns in the design matrix.

Returns:
design_matrixpandas.DataFrame

A DataFrame containing the design matrix.

Examples using nilearn.interfaces.fsl.get_design_from_fslmat

First level analysis of a complete BIDS dataset from openneuro

First level analysis of a complete BIDS dataset from openneuro