FREQCOR_functions.check_var_tf
- FREQCOR_functions.check_var_tf(trafun, jtmin, jtmax, varclim)[source]
Function that computes the coefficient of variation of the transfer function normalisation factor and compares it to the user-defined limit. If the coefficient of variation exceeds its limit value, the transfer function is discarded and the cut-off frequency won’t be computed for that specific half-hour or wind class.
- Parameters:
trafun (
TYPE) – Experimental transfer function computed as the ratio of real to ideal (co)spectra.jtmin (
int) – Index for the lower threshold of the user-defined normalisation range.jtmax (
int) – Index for the upper threshold of the user-defined normalisation range.varclim (
float) – User-defined limit for the coefficient of variation of the normalisation factor. If exceeded, the transfer function is discarded.
- Returns:
trafun – Experimental transfer function after potential filtering performed according to the results of the check of the coefficient of variation against the set limit. Is “False” if it didn’t pass the check.
- Return type:
TYPE