# dm.models.estimate package

## Submodules

## dm.models.estimate.Estimate module

Estimates course of quantities.

class `dm.models.estimate.Estimate.``Estimate`

  Bases: `object`

  static `co2_level`(co2_value)

    It determines level of CO2 concentration.

    Parameters

      co2_value – value of CO2

    Returns

      level of CO2 concentration and order of level

  static `compute_lin_reg`(values)

    It computes linear regression from given values.

    Parameters

      values – list of values

    Returns

      pair of intercept and slope

  static `compute_min_win_size`(last_close_event_time, actual_time)

    It computes minimal window size.

    Parameters

      - last_close_event_time – last time when window was closed

      - actual_time – current time

    Returns

      minimal window size

  static `t_h_level`(temp, rh)

    It determines level of humidity.

    Parameters

      - temp – value of temperature

      - rh – value of humidity

    Returns

      level of absolute humidity, level of relative humidity and order of level

## Module contents