tedana.reporting.quality_metrics.calculate_rejected_components_impact

calculate_rejected_components_impact(selector, mixing)[source]

Calculate the % variance explained by the rejected components for accepted components.

The final metric is the weighted sum across accepted components of the total variance explained by each accepted component times the varianced explained (100*R^2) of each accepted component by the rejected comp time series. This quantifies the impact of rejected components on the overall variance explained by accepted components.

Parameters:
  • selector (:obj: tedana.selection.component_selector.ComponentSelector) – Uses variance explained and classification columns in selector.component_table_.

  • mixing ((T [x C]) array_like) – Mixing matrix for converting input data to component space, where C is components and T is time

Returns:

None – Updates elements the selector object: selector.component_table_ has an added column for “Var Exp of rejected to accepted” selector.cross_component_metrics_ has an added value total_var_exp_rejected_components_on_accepted variance explained is a percentage ranging from 0-100% and total_var_exp_rejected_components_on_accepted is also a percent with the same range.