xcp_d.utils.confounds

Confound matrix selection based on Ciric et al. 2007.

Functions

describe_censoring(motion_filter_type, ...)

Build a text description of the motion parameter filtering and FD censoring process.

describe_regression(params, ...)

Build a text description of the regression that will be performed.

get_custom_confounds(...)

Identify a custom confounds file.

load_confound_matrix(params, img_file, ...)

Load a subset of the confounds associated with a given file.

load_motion(confounds_df, TR[, ...])

Load the six basic motion regressors (three rotations, three translations).

motion_regression_filter(data, TR, ...[, ...])

Filter translation and rotation motion parameters.