Definition and parameterization of Morlet wavelets
Background and setting
Despite the popularity and extensive use of Morlet wavelets for M/EEG analysis, differences in notation and parameterization used in the literature can be confusing. In the following, we provide visual and formal definitions, introduce our logarithmic parameterization, and establish its link with other parameterizations.
First of all, Morlet wavelets (Morlet et al. 1982) extend Gabor wavelets (Gabor 1946): Both, Gabor wavelets and Morlet wavelets are obtained by multiplying a complex sine-wave (oscillation) with a Gaussian taper. By construction, following from the uncertainty principle, Gabor and Morlet wavelets will also have a Gaussian shape in the frequency domain (if finite window lengths are neglected). Morlet wavelets define families of Gabor wavelets in which width and frequency are logarithmically scaled (Morlet et al. 1982; Tallon-Baudry et al. 1996). This means that a single Morlet wavelet is essentially a Gabor wavelet.
Gabor and Morlet Wavelets
To capture the variations of the spectral content of a signal over time, Gabor introduced in 1946 a basis of elementary waveforms, also known as time-frequency atoms (Gabor 1946). Such wavelets provide a localized time-frequency representation of the signal with an optimal tradeoff between time and frequency precision. Later, in 1982, Morlet adapted these wavelets to include a logarithmic scale in octave for the frequency of the sine wave and the width of the Gaussian window (Morlet et al. 1982). This scaling means that with increasing frequency, the wavelet becomes more time-localized (narrower time window) and less frequency-localized in (wider frequency bandwidth). Such wavelets, henceforth referred to as Morlet wavelets, account for log-frequency behavior and can be better suited for electrophysiological signals (Tallon-Baudry et al. 1996).
Essential design choice
A key feature of our parameterization is to express the Gaussian taper in terms of its spectral smoothing, i.e., spectral bandwidth (\(bw\)), logarithmically in units of octaves(Hipp et al. 2012).
Let’s consider an example of a Morlet wavelet with a center frequency of interest \(f=2 Hz\) and a bandwidth of \(bw=0.5 oct\). The example Morlet wavelet is illustrated in Figure 1.
In our parameterization, we describe Morlet wavelets families by the spectral smoothing, i.e. spectral bandwidth (\(bw\)). In the following, we detail, how the Morlet wavelets are derived for center frequencies \(f\) .
A bandpass filter, that a Morlet wavelet basically is, is described by the two edge frequencies, \(f_{min}\) and \(f_{max}\), where the signal subjected to the filter is attenuated by 50% (see Figure 1 panel B). We define the bandwidth of the filter as:
With the uncertainty principle we can derive \(\sigma_t\)\[
\sigma_t = \frac{1}{2\pi\sigma_f} = \frac{\sqrt{2ln(2)}}{\pi\left(\frac{2f}{2^{-bw} + 1}-\frac{2f}{2^{bw} + 1}\right)}
\tag{6}\]
The Morlet wavelet for center frequency \(f\) and spectral smoothing \(bw\) is then (A is a normalization constant):
\[
W(t|f,\sigma_t(bw)) = A e^{-\left(\frac{t}{2\sigma_t}\right)^2}e^{i2\pi f t}
\tag{7}\]
The convolution kernel that implements a Morlet wavelet has finite length. The length can be expressed in multiples of the temporal standard deviation of the Gaussian taper \(\sigma_t\). In our implementation this is the parameter kernel_width with the default value 5, corresponding to an extend of the Gaussian taper of \(\pm 2.5 \times \sigma_t\).
Selection of a grid of center frequencies for spectral analyses
Our Morlet wavelet package implements a grid with center frequencies spaced logarithmically according to the exponentiation of the base 2 with exponents ranging from \(f_{min}\) (e.g. 1 Hz, exponent 0) to \(f_{max}\) (e.g. 32 Hz, exponent 5) in steps \(delta\) (e.g. 1/8 oct). This ensures a coverage of frequencies that is coordinated with the spectral bandwidth and ensures a homogeneous coverage in the logarithmic frequency space.
Relationship between the bandwidth in octaves and the characteristic Morlet wavelet parameter \(q\)
Applied, to our defaults of \(bw=0.5\), using the arithmetic mean, we find \(q=6.9\), which is close to the \(q=7\) that is used in literature (Tallon-Baudry et al. 1996).
Gabor, Dennis. 1946. “Theory of Communication. Part 1: The Analysis of Information.”Journal of the Institution of Electrical Engineers-Part III: Radio and Communication Engineering 93 (26): 429–41.
Hipp, Joerg F, David J Hawellek, Maurizio Corbetta, Markus Siegel, and Andreas K Engel. 2012. “Large-Scale Cortical Correlation Structure of Spontaneous Oscillatory Activity.”Nature Neuroscience 15 (6): 884–90. https://www.nature.com/articles/nn.3101.
Morlet, J., G. Arens, E. Fourgeau, and D. Giard. 1982. “Wave Propagation and Sampling Theory—PartII: Sampling Theory and Complex Waves.”GEOPHYSICS 47 (2): 222–36. https://doi.org/10.1190/1.1441329.
Oostenveld, Robert, Pascal Fries, Eric Maris, and Jan-Mathijs Schoffelen. 2011. “FieldTrip: Open Source Software for Advanced Analysis of MEG, EEG, and Invasive Electrophysiological Data.”Computational Intelligence and Neuroscience 2011: 1–9.
Tallon-Baudry, Catherine, Olivier Bertrand, Claude Delpuech, and Jacques Pernier. 1996. “Stimulus Specificity of Phase-Locked and Non-Phase-Locked 40 Hz Visual Responses in Human.”Journal of Neuroscience 16 (13): 4240–49.