diff --git a/aqi/__init__.py b/aqi/__init__.py index 6737e59..2c48658 100644 --- a/aqi/__init__.py +++ b/aqi/__init__.py @@ -24,7 +24,7 @@ def to_iaqi(elem, cc, algo=ALGO_EPA): :param elem: pollutant constant :type elem: int - :param cc: pollutant contentration (µg/m³ or ppm) + :param cc: pollutant concentration (µg/m³ or ppm) :type cc: str :param algo: algorithm module canonical name :type algo: str diff --git a/aqi/algos/base.py b/aqi/algos/base.py index bbe087f..aca92c7 100644 --- a/aqi/algos/base.py +++ b/aqi/algos/base.py @@ -15,7 +15,7 @@ def iaqi(self, elem, cc): :param elem: pollutant constant :type elem: int - :param cc: pollutant contentration (µg/m³ or ppm) + :param cc: pollutant concentration (µg/m³ or ppm) :type cc: str """ raise NotImplementedError @@ -76,7 +76,7 @@ def iaqi(self, elem, cc): _cc = Decimal(cc).quantize(self.piecewise['prec'][elem], rounding=ROUND_DOWN) - # define breakpoints for this pollutant at this contentration + # define breakpoints for this pollutant at this concentration bps = self.piecewise['bp'][elem] bplo = None bphi = None