tedana.metrics.external

Metrics based on fits of component time series to external time series.

Functions

add_external_dependencies(dependency_config, ...)

Add dependency information when external regressors are inputted.

build_fstat_regressor_models(...)

Combine detrending all or subsets of external regressors to make models to fit and test.

calculate_max_rp_corr(*, mixing, regressors)

Calculate the maximum regressor-correlation (max_rp_corr) for each component.

compute_external_regressor_correlations(...)

Compute correlations between external regressors and ICA component time series.

fit_max_rp_corr_to_regressors(...[, seed])

Calculate max_rp_corr from specified external regressor columns.

fit_mixing_to_regressors(component_table, ...)

Compute Linear Model and calculate F statistics and P values for combinations of regressors.

fit_model_with_stats(y, regressor_models, ...)

Fit full and partial models and calculate F stats, R2, and p values.

fit_regressors(component_table, ...[, seed])

Fit regressors to the mixing matrix.

load_validate_external_regressors(*, ...)

Load and validate external regressors and descriptors in dictionary.

validate_extern_regress(*, ...)

Confirm external regressor dictionary matches data and expands regular expressions.

Exceptions

RegressError

Passes errors that are raised when validate_extern_regress fails.