Note
Please report issues with this page on the GitHub page.
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: The dependent variable QS (Surface heat storage). Pandas Series.
QN_Ser: The first independent variable (Net all wave radiation). Pandas Series. dt: The time interval with which the rate of change of QN is calculated. Float (hours).Returns: a1, a2 coefficients and a3 (intercept)