Tip

  1. Need help? Please let us know in the UMEP Community.

  2. Find an issue within this page? Please report it in the GitHub issues.

  3. A good understanding of SUEWS is a prerequisite to the proper use of SuPy.

supy.util.derive_ohm_coef

supy.util.derive_ohm_coef(ser_QS, ser_QN)[source]

A function to linearly fit two independant variables to a dependent one. Input params: QS_Ser:

QN_Ser: The first independent variable (Net all wave radiation). Pandas Series.

Returns: a1, a2 coefficients and a3 (intercept)

Parameters
  • ser_QS (pd.Series) – The dependent variable QS (Surface heat storage).

  • ser_QN (pd.Series) – The first independent variable (Net all wave radiation).

Returns

a1, a2 coefficients and a3 (intercept)

Return type

Tuple