Note

THIS PROJECT HAS BEEN MERGED INTO SUEWS AND ARCHIVED.

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.

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