atmospy.fleet_precision#

atmospy.fleet_precision(data)#

Compute the precision across a fleet of at least three (3) devices.

The math used here comes from the EPA’s Air Sensor Performance Targets and Testing Protocols guidelines.

Parameters:
datapd.DataFrame

A dataframe containing a wide-form dataframe as a time series where the index is a timestamp. Each column should represent the same pollutant or other measure for a unique device, whether it is an air sensor or other instrument.

Returns:
stdev, cvtuple(float, float)

Returns the standard deviation and coeficient of variation.