[][src]Function aqi::pm2_5

pub fn pm2_5(concentration: f64) -> Option<AirQuality>

Calculates the PM2.5 Air Quality Index from the provided 24-hour concentration

The AQI is defined for concentrations between 0.0 and 500.4 µg/m³.

Arguments

  • concentration - The 24-hour PM2.5 concentration in µg/m³