mne_hfo.utils.threshold_tukey

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

Calculate threshold by Tukey method.

Parameters

signal: numpy array

1D signal for threshold determination

threshold: float

Number of interquartile interval above the 75th percentile

Returns

ths_value: float

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.

Examples using mne_hfo.utils.threshold_tukey