Basic Metrics

class stonesoup.metricgenerator.basicmetrics.BasicMetrics[source]

Bases: stonesoup.metricgenerator.base.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

Parameters

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

Returns

Contains the metric information

Return type

list of Metric