mne_hfo.utils.threshold_std¶
-
mne_hfo.utils.threshold_std(signal, threshold)[source]¶ Calculate threshold by Standard Deviations above the mean.
- Parameters
signal: numpy array
1D signal for threshold determination
threshold: float
Number of SD above the mean
- Returns
ths_value: float
Value of the threshold