tedana.selection.component_selector.ComponentSelector.are_only_necessary_metrics_used

ComponentSelector.are_only_necessary_metrics_used()[source]

Check if all metrics that are declared as necessary are actually used.

Also check if any used_metrics weren’t explicitly declared necessary.

If either of these happen, a warning is added to the logger.