tedana.metrics.kundu_metrics

kundu_metrics(comptable, metric_maps)[source]

Compute metrics used by Kundu v2.5 and v3.2 decision trees.

Parameters:
  • comptable ((C x M) pandas.DataFrame) – Component metric table, where C is components and M is metrics
  • metric_maps (dict) – A dictionary with component-specific feature maps used for classification. The value for each key is a (S x C) array, where S is voxels and C is components. Generated by dependence_metrics
Returns:

comptable – Component metrics to be used for component selection, with new metrics added.

Return type:

(C x M) pandas.DataFrame