mne_hfo.utils.compute_hilbert#

mne_hfo.utils.compute_hilbert(signal, freq_cutoffs, freq_span, sfreq)[source]#

Compute the Hilbert envelope for a single channel.

Parameters:
signalnp.ndarray

EEG signal for a single channel.

freq_cutoffstuple

The lower and higher frequency cutoff.

freq_spantuple

The span of how many frequencies there are.

sfreqfloat

The sampling rate.

Returns:
hfx_bandsnp.ndarray

Hilbert transforms per freq band.