Basic Metrics

class stonesoup.metricgenerator.basicmetrics.BasicMetrics[source]

Bases: MetricGenerator

Calculates simple metrics like number of tracks, truth and ratio of track-to-truth

compute_metric(manager, *args, **kwargs)[source]

Compute the metric using the data in the metric manager


manager (MetricManager) – containing the data to be used to create the metric(s)


Contains the metric information

Return type:

list of Metric