mne.time_frequency.fwhm#

mne.time_frequency.fwhm(freq, n_cycles)[source]#

Compute the full-width half maximum of a Morlet wavelet.

Uses the formula from Cohen1.

Parameters
freqfloat

The oscillation frequency of the wavelet.

n_cyclesfloat

The duration of the wavelet, expressed as the number of oscillation cycles.

Returns
fwhmfloat

The full-width half maximum of the wavelet.

Notes

New in v1.3.

References

1

Michael X Cohen. A better way to define and describe Morlet wavelets for time-frequency analysis. NeuroImage, 199:81–86, 2019. doi:10.1016/j.neuroimage.2019.05.048.