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

signal : np.array

EEG signal for a single channel

extra_params : dict

Must have values for ‘freq_cutoffs’, ‘freq_span’, and ‘sfreq’

Returns

hfx_bands: np.ndarray

Hilbert transforms per freq band

Examples using mne_hfo.utils.compute_hilbert