Implementation of the shuffle estimator, a non-parametric estimator for signal and noise variance under mild noise correlations.