Tip
Need help? Please let us know in the SUEWS Community.
Please report issues with the manual on GitHub Issues (or use Report Issue for This Page for page-specific feedback).
Please cite SUEWS with proper information from our Zenodo page.
6.3.3.1. 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