mne_hfo.utils.threshold_tukey#

mne_hfo.utils.threshold_tukey(signal, threshold)[source]#

Calculate threshold by Tukey method.

Parameters:
signalnumpy array

1D signal for threshold determination.

thresholdfloat

Number of interquartile interval above the 75th percentile.

Returns:
ths_valuefloat

Value of the threshold.

References

[1] TUKEY JW. Comparing individual means in the analysis of

variance. Biometrics. 1949 Jun;5(2):99-114. PMID: 18151955.