test_steady_state_M98.test_steady_state_M98
- test_steady_state_M98.test_steady_state_M98(x, y)[source]
Performs the non-stationary ratio test described by Mahrt (1998) after Vitale et al. 2020, Biogeosciences, “Robust data cleaning procedure for eddy covariance flux measurements”” and associated inst_prob_test routine found on Gitlab
- Parameters:
x (
raw high-frequency time series
ofvertical wind component (i.e. W)
)y (
raw high-frequency time series
ofscalar atmospheric variable (e.g. CO2)
)
- Returns:
S_M98 (
Returns the non-stationary ratio test statistic.
)comments
--------
- computation
ofcovariances might be more efficient using rolling
andcov functions
– on df (e.g. https://www.geeksforgeeks.org/how-to-calculate-rolling-correlation-in-python/), or the np.roll functionWritten by B. Heinesch
,29 October
,2022.
University
ofLiege
,Gembloux Agro-Bio Tech.