Time-frequency analysis of event-related brain recordings: Effect of noise on power
Guillaume Marrelec, Jonas Benhamou, Michel Le Van Quyen

TL;DR
This paper studies how noise affects time-frequency analysis in brain recordings, helping neuroscientists better interpret their data.
Contribution
The study introduces a systematic analysis of how various factors influence noise effects on two time-frequency measures in neuroscience.
Findings
Additive noise significantly impacts avgPOW and POWavg in time-frequency analysis.
Factors like noise variance, number of trials, and sampling rate influence noise effects.
The type of noise and frequency of interest also play critical roles in analysis outcomes.
Abstract
In neuroscience, time-frequency analysis is widely used to investigate brain rhythms in brain recordings. In event-related protocols, it is applied to quantify how the brain responds to a stimulation repeated over many trials. We here focus on two common measures: the power of the transform for each single trial averaged across trials, avgPOW; and the power of the transform of the average evoked potential, POWavg. We investigate the influence of additive noise on these two measures. We quantify the expected effect using theoretical calculations, simulated data and experimental brain recordings. We also consider the case of color noise. We extract the main factors influencing the effect of noise on POWavg and avgPOW, such as the noise variance, the number of trials, the sampling rate, the type of noise, the type of time-frequency transform and the frequency of interest. When dealing with…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural dynamics and brain function · Neuroscience and Music Perception · EEG and Brain-Computer Interfaces
Introduction
1
In neuroscience, where one is interested in brain rhythms, time-frequency (TF) methods have extensively been used for the analysis of in-vivo brain recording techniques [65], [18], [37], including electroencephalography (EEG), magnetoencephalography (MEG), intracranial EEG (iEEG), and microelectrode recordings (measuring local field potentials, LFPs) [4], [58], [27], [8], [36], [22]. A standard procedure is the so-called event-related protocol, where one records how the brain responds to a given stimulation over many trials. The signal measured in response to one stimulation is called an event-related response. Studies have shown that time-frequency analyses are a powerful means to detect transient bursts of high-frequency (>40 Hz) activity in response to sensory stimulation [23], [53], [14], [15]. The origin of these activations is still a subject of discussion, as they may result from two distinct phenomena: They can either be tightly time-locked to the stimulus (stimulus-evoked neuronal activity) or phase-locked to the stimulus (stimulus-induced oscillations) [60]. Short-latency oscillations have been found in the average evoked potential within 100 ms of stimulus onset [54], [42], [41], [17]. By contrast, stimulus-induced oscillations disappear in the average evoked potential because of the jitter in latency from one trial to the next [63]. As a consequence, they have to be extracted using methods that are able to distinguish between phase-locked and non-phase-locked activity.
To be able to discriminate between stimulus-evoked and stimulus-induced oscillations, two main measures of power have been considered. Starting from a collection of N signals , , acquired from N trials, a first measure is the amplitude , or the power , of the transform for each single trial n averaged across trials [30, Chap. 9]
A second measure is the power of the time-frequency transform applied to the average evoked potential [60]
These two measures are sensitive to different aspects of event-related responses: evoked responses for avgPOW, and phase resetting for POWavg [60], [41]. In [5], we refined the relationship between the two measures in the absence of noise using calculations and simulations.
Following this work, we wondered what the influence of noise on the relationship could be. To answer this question, we first needed to better understand the effect of noise on avgPOW and POWavg. Indeed, signals from brain recordings are composed of a part that is relevant to brain activity, and another part that has other origin, and is therefore considered as noise. Experimentally, it has been observed that POWavg is quite robust to noise compared to avgPOW; also both measures appear to be differentially affected by the temporal properties of the signal. Using theoretical calculations, simulation studies, and analysis of experimental data, we here investigate the effect of additive white Gaussian noise (AWGN) on the expected values of avgPOW and POWavg. Using general calculations, we first show that this effect is additive and positive for both measures, and increases with increasing noise variance. By contrast, we also show that the number of trials has an effect on POWavg but not on avgPOW. We also investigate the important case of a noise that is wide-sense stationary with power spectral density of the form , also known as color noise. We illustrate these general results in the particular case of an oscillatory signal analyzed with the S-transform [59]. We also confirm the predicted behaviors on simulated data as well as experimental brain recordings.
The outline of the manuscript is the following. In Section 2, we provide the general theoretical developments, which are then illustrated on an oscillatory signal in Section 3. We investigate synthetic data in Section 4. Section 5 is devoted to the analysis of experimental data. Further issues are discussed in Section 6.
Theoretical developments
2
In this section, we investigate the theoretical implications of considering noisy signals for POWavg and avgPOW. We first introduce time-frequency transform and the S-transform (Section 2.1). We set the model of noisy data with additive noise (Section 2.2). We then investigate the statistical properties of the time-frequency transform of noise (Section 2.3) and then quantify the effect of noise on POWavg and avgPOW (Section 2.4). We finally consider the influence of the type of noise (Section 2.5).
Time-frequency analysis and the S-transform
2.1
Time-frequency analysis is a generic approach for the analysis of signals whose frequency content are deemed meaningful but nonstationary [11], [59], [21], [43], [28], [1]. All methods map a one-dimensional real or complex signal into a two-dimensional complex-valued function that can be expressed in the following general form
, , and are respectively the amplitude (or modulus), power, and phase (or argument) of the time-frequency transform at time t and frequency f.
The S-transform [59] is a type of time-frequency transform that is commonly used in the analysis of brain recordings. It is a type of time-frequency transform that acts as a band-pass filter or a windowed Fourier transform with a Gaussian window whose width decreases with increasing frequency (standard deviation ). Since we deal with real signals, we assume that, for each signal , the S-transform is applied to the analytic signal . See Section II of Supplementary Material for more details. For , this is tantamount to using the following formula for the transform
We can express this equation as in (3) with
The time-frequency transform is linear: For any two signals and , and real numbers and , we have
In the case of N signals , , with average
this entails
Model of noisy data
2.2
In the following, we consider N signals , , where each can be decomposed into the sum of a signal of interest and a noise component ,
In this expression, the 's are assumed to be N independent and identically distributed (i.i.d.) realizations of a signal of interest , and the 's are N realizations of a noise with zero mean and variance .
Akin to (6), we denote by and the average measured signal and the average noise, respectively. By averaging (8), we obtain
Time-frequency transform of noise
2.3
To investigate the effect of noise on the time-frequency transform, we need to consider the time-frequency transform of (8). However, this requires taking the time-frequency transform of the noise component, a step that is not mathematically straightforward, since time-frequency transform is defined for a continuous function while Gaussian noise (and, in particular, white Gaussian noise) is often assumed to be a discrete process. A potential solution would be to consider a white noise process [38], and another one would involve a detour into the Schwartz space of rapidly decaying smooth complex valued functions of a real variable [3].
Note however that this is only a theoretical problem. In practice, any routine for time-frequency transform takes discrete signals as inputs and approximates integrals with sums. In particular, we here use an approximation in terms of Riemann sums,
where δt is the sampling rate, and is assumed to be sampled at times . From (8), we can show that the linearity of the time-frequency transform is valid, i.e., (see Appendix A)
and
Also, since the 's are i.i.d. for , so are their time-frequency transforms.
The statistical properties of are not straightforward either. For now, we calculate , the expectation of , which can be obtained through the Riemann approximation (see Appendix A)
Note that this value does not depend on the type of noise nor on the time-frequency transform used.
Effect of noise on POWavg and avgPOW
2.4
We are now in position to investigate the effect of noise on the time-frequency transform of . We first consider POWavg. Using its definition, (2), the linearity of the time-frequency transform, (11), the independence of the 's and 's, and the fact that , (13), we show that can be expressed as (see Appendix B)
This shows that, in the presence of noise, differs from by a quantity that is equal to . The two main consequences of this result are:
- •The expected effect of noise is to systematically overestimate POWavg;
- •The noise is expected to have vanishing influence with an increasing number of trials. In a similar fashion, we can investigate the influence of noise on avgPOW. Using its definition, (1), and the same properties as above, we can show that can be expressed as (see Appendix B)
As a consequence, we have the two following properties:
- •Akin to POWavg, the expected effect of noise is to systematically overestimate avgPOW;
- •Unlike POWavg, the noise has expected constant, non-vanishing influence on avgPOW, regardless of the number of trials.
Case of color noise
2.5
According to (14) and (15), noise influences the expected values of avgPOW and POWavg through , which is the second order statistic of the time-frequency transform of the noise. This quantity is more complex to calculate than the first-order statistic (i.e., the expectation). Its value depends on the type of noise and the time-frequency transform considered. It has been investigated by various authors, both from a theoretical and a numerical perspective in the particular case of Gaussian white (i.e., i.i.d.) noise [62], [24], [2], [67], [25], [3] and in the more general setting of stationary zero-mean Gaussian noise [38]. In particular, there has been a debate whether the sampling rate has an influence in the expression of the variance of [24], [67], [25].
In the following, we consider wide-sense stationary noise, i.e., noise for which the mean and variance are time independent. Using a derivation similar to [38], it can be shown that has a general expression of the form (see Section III-A of Supplementary Material)
In this expression, is the Fourier transform of as defined in (3). is the power spectral density (PSD) of the noise. It describes the frequency content of the noise along the various frequencies.
In the case of white noise with variance , the PSD is given by
so that
The value of the integral depends on the type of time-frequency transform considered. In the case of the S-transform, we obtain (see Section III-B of Supplementary Material)
which is a linear function of f. Note that, regarding the above-mentioned debate about the effect of the sampling rate, the present derivation supports the conclusion that it actually does have an influence.
Besides white noise, it is sometimes important to consider models of noise with temporal correlation. A usual such model is color noise, i.e., noise whose spectral power density is approximately proportional to for ν departing from 0.
For a color noise, can be approximated as
For the S-transform, we obtain (see Section III-C of Supplementary Material)
As a consequence, the variance of the noise time-frequency transform decays slower than its power spectral density ( instead of ). Note that the result obtained for white noise, (19), is compatible with this result with (which indeed corresponds to white noise). Also, the exact expression depends on the type of process used to generate the noise, i.e., on the exact expression of .
Oscillatory signal
3
To provide a detailed illustration of the effect of noise, we consider the case of a real-valued oscillatory signal with Gaussian noise analyzed with the S-transform. The model is introduced in Section 3.1. The expressions for the S-transform, avgPOW and POWavg are given in Sections 3.2, 3.3 and 3.4, respectively. We finally give a numerical example in Section 3.5. A summary of calculated results is given in Table 1.Table 1Effect of noise on avgPOW and POWavg for real-valued oscillatory signal. Summary of results for the S-transform. O(⋅) is the standard Bachmann–Landau notation.Table 1. QuantityExpression
Model
3.1
We consider a model in which we observe N repetitions of a real-valued oscillatory signal with constant frequency and varying amplitude and phase
We assume that the 's are i.i.d. repetitions of , while the 's are i.i.d. repetitions of . Furthermore, and are assumed to be independent from each other for every n. We define the circular mean as [44, §3.4.2]
with the mean direction and ρ the mean resultant length. The noise is assumed to be real Gaussian with 0 mean and variance .
S-transform
3.2
The analytic signal associated with our model is given by [43, Example 4.8]
The S-transform of such a signal is given by (see Appendix C)
The power is given by
Its maximum is reached for , with value equal to . Note that, had we defined the S-transform as the time-frequency transform of the real-valued signal instead of the analytic signal (as done, e.g., in [5]), would have had a more complicated expression equal to about half the value found in (25), and the maximum of would be approximately equal to .
avgPOW
3.3
Incorporating (26) into (1) yields
whose expectation is given by
This quantity reaches its maximum for , with value equal to .
POWavg
3.4
From linearity of the time-frequency transform, is equal to the average of the 's, that is,
Incorporating (29) into (2), we are led to
and corresponding expectation
For large N, this quantity can be approximated by (see Appendix C)
where is the standard Bachmann–Landau notation. Note that we have the following relationship between avgPOW and POWavg:
which is reminiscent of the relation found in [5], with the difference originating from the fact that we work with avgPOW instead of the average amplitude (avgAMP).
Numerical example
3.5
We illustrate these results with the example of an oscillatory signal with frequency Hz, amplitude with mean and standard deviation , mean resultant length , sampling interval ms, and trials. For noise, we considered two types of color Gaussian noise [35], [34], [61], [68]: white (corresponding to ) and red (corresponding to ). For each type of noise, we generated 1000 samples [68], computed the time-frequency transform of each sample, and approximated by averaging the time-frequency transforms. We also used two levels of noise: moderate ( ) and high ( ). Results are summarized in Fig. 1 for avgPOW. Noise had no visible effect on the expectation of POWavg.Figure 1Oscillatory signal. Effect of noise on E(avgPOW) using the S-transform. We represented E[|Tb(t,f)|^2^] (dashed lines) as well as E(avgPOW), either for the original signal s(t) (solid black line) or the noisy signal x(t) (solid colored lines) for color noise, either white (top) or red (bottom), and variance equal to either σ^2^ = 1 (blue) or σ^2^ = 10 (red). For red noise and ν = 500 Hz, the red and the black lines are superimposed.Figure 1
Simulation study
4
Time-frequency analysis of brain recordings from event-related protocols involving sensory stimulation has evidenced the presence of high-frequency oscillations (HFOs) ranging from 400 to 800 Hz in addition to the usual somatosensory evoked potential (SEP) [14], [15], [51], [63]. In the present section, we investigate the effect of noise on POWavg and avgPOW by generating synthetic data in this context.
Data generation
4.1
We generated signals on a time window of ms at a sampling rate of kHz (corresponding to a recording every ms). Signals corresponding to the different trials were generated independently. For each trial n, we simulated an induced response in the ms time window, and ongoing activity the rest of the time. Both the ongoing and the induced activities were generated using (22) with the same amplitude and frequency , but with different phase: for the ongoing activity, and for the induced activity. The exact values of parameters were sampled according to specific distributions (see Table 2). We added either white or red Gaussian noise with variance [68]. The signals were analyzed using the S-transform.Table 2Simulation study. Values of parameters for data generation.Table 2. ParameterDistributionParametersΩ_n_ Ω_0_ = 1τΩ = 0.1νn ν0 = 500τν = 0 vonMises[ϕ0,κ^(o)^]ϕ0 = 0κ^(o)^ = 0 vonMises[ϕ0,κ^(i)^]ϕ0 = 0κ^(i)^ = 10
Since we are interested in oscillations in the high frequency range, we expected from previous calculations—see in particular (14), (15) and (21)—that the influence of noise would be (i) larger on avgPOW than on POWavg; and (ii) larger for white noise than for red noise.
Results
4.2
Results are illustrated on Fig. 2 for avgPOW and on Fig. 3 for POWavg. Without noise, avgPOW was able to visually enhance the presence of an oscillation around 500 Hz and POWavg the presence of a phase resetting. The effect of noise strongly depended on the type of noise and on the measure. Regarding the type of noise, white noise (corresponding to a linear increase in the time-frequency transform) was more visible than red noise (corresponding to a decrease in the time-frequency transform). This effect was all the more important that we were interested in a high-frequency phenomenon. Regarding the measure under consideration, we found that the effect of noise on POWavg was rather limited regardless of the type of noise and noise level. By contrast, avgPOW was more affected by noise than POWavg, and by white noise than by red noise.Figure 2Simulated data. avgPOW for a 500 Hz oscillatory signal with white noise (top) or red noise (bottom), and σ^2^ ranging from 1 to 10. The color scales differ for all plots.Figure 2. Figure 3Simulated data. POWavg for a 500 Hz oscillatory signal with white noise (top) or red noise (bottom), and σ^2^ ranging from 1 to 10. The color scales are identical for all plots.Figure 3
Analysis of experimental data
5
We here investigate the effect of noise on EEG brain recordings acquired during an event-related protocol designed to generate somatosensory evoked potentials following median nerve stimulations in a healthy subject. To this end, we used the same dataset as in [5].
Data
5.1
Brain responses were acquired using multichannel EEG with a sampling frequency of 3 kHz. Electrical median nerve stimulation of 1 ms duration was applied to median nerve at the wrist level to elicit a burst of high-frequency oscillations (HFOs) in the 400–800 Hz frequency range superimposed onto the cortical N20 potential. The stimulus was applied 300 times, with a 500-ms inter-trial interval. Following previous recommendations [30], we studied the fronto-central channels (CP3–Fz). Data acquisition was performed at the Center for Neuroimaging Research (CENIR) of the Brain and Spine Institute (ICM, Paris, France). The experimental protocol was approved by the CNRS Ethics Committee (study #1402) and by the national ethical authorities (CPP Île-de-France, Paris 6 – Pitié-Salpêtrière and ANSM; ID-RCB 2015-A00462-47).
Analysis
5.2
The data was analyzed in two distinct time windows: ms (before stimulus) and ms (after stimulation). The peristimulus signal (in the window ms) was discarded to avoid stimulation-induced artifacts.
We first estimated both the prestimulus and poststimulus power spectral densities (PSDs) for each of the 300 trials using Welch's method [66]. Using the assumption that there was no structured and reproducible oscillations in the prestimulus window, we used the prestimulus data as a reference to assess the noise structure. For each prestimulus PSD, we performed a linear regression of its log over the frequency range 40–1000 Hz to estimate the type of color noise. The average of all estimated c's over the 300 trials, denoted , was taken as a reference for all other cases (post-stimulus PSD as well as pre- and post-stimulus time-frequency transform).
As a second series of analyses, we applied time-frequency transform to both the prestimulus and poststimulus signals using the S-transform. We then computed avgPOW and POWavg. We also performed linear regression of the log of the measures as a function of the log of frequency in 40–1000 Hz, assuming a profile with .
Finally, we focused on the HFOs in the ms (poststimulus) time range and Hz frequency range. We compared various profiles with the expected profile with .
Results
5.3
Results regarding the PSD are summarized in Fig. 4. Using the prestimulus data, we found that the signal exhibited a PSD that roughly decayed as , with (mean ± standard deviation over the 300 estimates), median of 1.61. Such range of values for c corresponds to color noise between pink noise ( ) and red noise ( ). The prestimulus PSD seemed to follow the trend with quite well, except for lower frequencies where larger than expected power density was found.Figure 4Real data. PSD analysis. Boxplot (median and [25%,75%] percentile interval) of prestimulus (left) and poststimulus (right) PSD corresponding to the signals of all trials together with expected profile of 1/f^c^ color noise with c = 1.61 (red line).Figure 4
The value of was used as a reference for both the poststimulus PSD as well as the pre- and poststimulus time-frequency transforms.
We observed that the poststimulus PSD behaved in fashion very similar to the prestimulus PSD. In particular, its profile also followed quite well a trend with for larger frequency values.
Results regarding the time-frequency transforms are illustrated in Fig. 5. While we observed no obvious structure in the prestimulus time-frequency transform with either avgPOW or POWavg, both poststimulus measures exhibited areas in the time-frequency domain with larger values before 50 ms, which are to be related to the somatosensory evoked response. This difference could also be seen in the boxplot of values across pre- and poststimulus windows, where both measures exhibited more variability in the lower frequency range poststimulus than prestimulus; also, values of POWavg were larger poststimulus than prestimulus. In all cases, we again observed a decent fit with the expected behavior, with , in agreement with (21).Figure 5Real data. Time-frequency analysis of prestimulus (left) and poststimulus (right) signals. Boxplot (median and [25%,75%] interval) of avgPOW (top) and POWavg (bottom) together with expected profile 1/f^c−1^ profile (red line) with c = 1.61.Figure 5
A focus on the HFO is illustrated in Fig. 6. Compared to the expected profile of with , both avgPOW and POWavg exhibited larger values in the 20–22 ms time range compared to the 15–17 ms and 28–30 ms time ranges. This effect was even more noticeable with POWavg than with avgPOW.Figure 6Real data. Analysis of HFO as observed by avgPOW (top) and POWavg (bottom). Left: Zoom of time-frequency transform for time in [15,30] ms and frequency in [600,1000] Hz window. Right: Mean frequency profile over [15,17] ms (dotted line), [20,22] ms (solid line), and [28,30] ms (dashed line) together with expected 1/f^c−1^ noise profile with c = 1.61 (red solid line).Figure 6
Discussion
6
In the present manuscript, we investigated the effect of noise on POWavg and avgPOW. More precisely, we assumed a model where additive Gaussian noise was added to the signal of interest and we compared the expected values of avgPOW and POWavg calculated either with or without noise. We showed that noise had an additive and positive effect on the expectations of the two measures. We also showed that the number of trials N had a different effect on POWavg and avgPOW: an influence on POWavg that decreased in , and an influence on avgPOW that did not depend on N. Since the influence of noise depends on its temporal structure (autocorrelation) and on the type of time-frequency transform used, we considered color noise (i.e., noise with a power spectral density proportional to ) analyzed with the S-transform. In that case, we showed that for both avgPOW and POWavg the expected effect of noise was on average proportional to . We confirmed these general results in the case of a pure oscillatory signal with color noise, in the case of simulated data, as well as on experimental data.
The approach expounded in the present manuscript heavily relies on the time-frequency features of noise. As mentioned above, what is meant by the time-frequency transform of noise is not obvious. We circumvented this issue by taking a discrete perspective on noise, which allowed us to approximate integrals with Riemann sums. Since we deal with real-life signals, which are discrete by nature, this perspective does not lead to practical restrictions.
In this study, we also made different assumptions regarding the type of noise considered. In all cases, we focused on additive noise, as modeled in (8). The type of noise has a large impact on the global appearance of the time-frequency transform. We considered wide-sense stationary noise and investigated consequences of having color noise. In the case of color noise with a PSD of the form , we showed that this structure could also be observed directly on the time-frequency diagrams. For instance, the expected profile for both avgPOW and POWavg in the case of the S-transform was in . This key result entailed that the effect of noise on these two measures (i) increased with increasing frequencies for ; (ii) did not depend on frequency for ; and (iii) decreased with increasing frequencies for . This effect was clearly visible on our calculations as well as on the simulation study and the analysis of experimental data. As a consequence, the effect of noise on our analyses critically depended on the frequency range of interest. For instance, in the case of HFOs, dealing with means that noise can potentially have a large impact on the measures. This effect globally remains the same in the case of time-frequency transform based on the continuous wavelet transform (see Section IV of Supplementary Material).
Signals with temporal autocorrelation structure have commonly been reported in EEG signal analysis [39], [40], [48], [6], [52], [55]. While the term “ noise” is quite common in the literature, the origin of the signal with power spectrum is more likely a signature of irregular and asynchronous neuronal activity, to be distinguished from rhythmic, oscillatory neural activity [47], [32], [31], [46], [19], [20], [26]. This non-oscillatory activity has been shown to be influenced by several factors, including age, sex, state, and task [9], [56], [16], [13], [50], [19], [10], [45], [49].
In the experimental data, we estimated the color (the value of c in ) from the prestimulus PSD. An alternative approach would be to use wavelet filtering [39]. This value of c, denoted , was found to be also a rather good indicator of the profile of the poststimulus PSD as well as the pre- and poststimulus values of avgPOW and POWavg—in particular for larger frequency values. This result gives weight to the underlying assumption of limited synchronized oscillatory activity in the experimental data.
In the present manuscript, we focused on the S-transform as a way to perform time-frequency analyses of brain signals for two reasons. First, it is a time-frequency transform that is commonly used in MEG/EEG data analysis. Furthermore, it has the advantage of rendering our calculations tractable. Another usual approach for time-frequency transform is the use of continuous wavelet transform [43]. A major difference between the S-transform and a continuous wavelet transform is that the S-transform uses a function whose -norm is normalized (i.e., set to 1), while the continuous wavelet transform uses a function that is -normalized. The consequences of this difference are twofold, depending on whether we focus on the signal of interest or the noise. From the perspective of the signal, the S-transform of a pure oscillatory signal of amplitude and frequency yields a time-frequency transform whose maximum amplitude does not depend on and is equal to at according to (25). By contrast, using the continuous wavelet transform would lead to a maximum amplitude that would be a decreasing function of amplitude (e.g., roughly in for the Morlet wavelet). If we rather focus on the noise, the time-frequency transform of color noise was found to be of the order , see (21). By contrast, it would be of order for a continuous wavelet transform. Altogether, both methods for time-frequency transform end up with the same signal-to-noise ratio. Still, what has been presented above as a prototypical behavior of the continuous wavelet transform might be undesirable, and some publications (such as [38]) and softwares (such as Matlab) use continuous wavelet transforms with normalization. In that case, the Morlet wavelet becomes very similar to the S-transform. See Section IV of Supplementary Material for more details on this issue.
We derived results regarding the expectations of avgPOW and POWavg. Using these results as indications regarding the behavior of the measures themselves amounts to neglecting their intrinsic variability. The validity of such an assumption depends on the measure. For POWavg, noise seemed to have a vanishing influence when the number of trials increases; neglecting variability might arguably make sense. By contrast, we observed that the influence of noise on avgPOW did not vanish, and did not become similar to as N increased. It might therefore be harder to do away with the residual variability in that case. A more precise quantification of the effect of noise on the variability of avgPOW and POWavg would involve the calculation of the variance of these measures.
In [5], we investigated the relationship between three measures from time-frequency transform, namely avgAMP, AMPavg, and inter-trial coherence (ITC) defined as [41]
Instead of working with avgAMP and AMPavg, we here rather considered avgPOW and POWavg, respectively. Obviously, both measures are related, but they are not equal: POWavg is equal to AMPavg^2^, while the relationship between avgPOW and avgAMP is more complex. The reason for the present choice of measures is that the effect of noise on avgPOW is easier to quantify on avgPOW and POWavg than it is on avgAMP and AMPavg.
Correction of noise has been deemed an important step in some analyses of brain recordings [19], [50], [20]. The fact that color noise with a structure translates into a time-frequency transform with a similar profile could be used to provide an efficient thresholding of the time-frequency diagram. Methods have been proposed for statistical hypothesis testing [57]. However, caution has to be exerted [7], [29], and the development of such a thresholding approach goes beyond the scope of the present manuscript.
Finally, we here considered the effect of noise on avgPOW and POWavg. We did not consider its effect on ITC. The reason for this choice is that noise has an effect on ITC that is qualitatively quite different from both avgPOW and POWavg. Determining the effect of noise on ITC is a research question in itself. While Cohen [12, §19.3] argues that noise should tend to increase ITC, van Diepen and Mazaheri [64] show evidence of a decrease of ITC with decreasing signal-to-noise. We would like to validate these statements and provide a derivation for ITC similar to what has been done for avgPOW and POWavg in the present manuscript. Only then can we start considering the effect of noise on the relationship obtained in [5].
Conclusion
7
In the present manuscript, we showed that additive noise tends on average to increase both avgPOW and POWavg. We quantified the main factors of influence for both measures, such as the noise variance, the number of trials, the sampling rate, the type of noise, and the frequency of interest. In particular:
- •An increasing number of trials reduces the influence of noise on POWavg but not on avgPOW.
- •The type of time-frequency transform (e.g., S-transform or continuous wavelet transform) has an influence on the way the time-frequency transforms for both the signal and the noise behave as a function of frequency.
- •In the case of a color noise with PSD of the form analyzed with the S-transform, the relative effect of noise (i) increases with increasing frequency for ; (ii) does not depend on frequency for ; and (iii) decreases with increasing frequency for . These effects were established using theoretical calculations, simulation studies and analysis of experimental data. They can potentially have a large impact on the neuroscientist's work when dealing with time-frequency analysis. We hope the present results will help researchers improve their understanding and interpretation of time-frequency diagrams, as well as optimize their experimental setting based on their neuroscientific question. We specifically expect these results to hold relevance for non-invasive brain-computer interface (BCI) experiments using time-frequency analysis of event-related tasks. Maintaining an adequate signal-to-noise ratio is crucial in such contexts, as recordings may include not only brain signals such as EEG but also electromyogram (EMG) and other non-EEG artifacts. Our research should contribute to an improved quantification of the overall impact of these various forms of noise, which can significantly hinder BCI performance.
CRediT authorship contribution statement
Guillaume Marrelec: Writing – original draft, Methodology, Formal analysis, Conceptualization. Jonas Benhamou: Writing – review & editing, Software, Methodology, Investigation, Data curation. Michel Le Van Quyen: Writing – review & editing, Methodology, Conceptualization.
Declaration of Competing Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Addison P.S.The Illustrated Wavelet Transform Handbook Introductory Theory and Applications in Science, Engineering, Medicine and Finance 2002 Institute of Physics Publishing Bristol
- 2Aguiar-Conraria L.Soares M.J.The continuous wavelet transform: a primer Technical Report 2011 Núcleo de Investiga Cão em Políticas Económicas, Universidade do Minho
- 3Bardenet R.Flamant J.Chainais P.On the zeros of the spectrogram of white noise Appl. Comput. Harmon. Anal.482020682705
- 4Başar E.Basa̧r-Eroğlu C.KarakaşS.Schürmann M.Are cognitive processes manifested in event-related gamma, alpha, theta and delta oscillations in the EEG?Neurosci. Lett.25919991651681002558410.1016/s 0304-3940(98)00934-3 · doi ↗ · pubmed ↗
- 5Benhamou J.Le Van Quyen M.Marrelec G.Time-frequency analysis of event-related brain recordings: connecting power of evoked potential and inter-trial coherence IEEE Trans. Biomed. Eng.702023159916103639512910.1109/TBME.2022.3222943 · doi ↗ · pubmed ↗
- 6Berthouze L.James L.M.Farmer S.F.Huma EEG shows long-range temporal correlations of oscillation amplitude in theta, alpha and beta bands across a wide age range Clin. Neurophysiol.1212010118711972034673210.1016/j.clinph.2010.02.163 · doi ↗ · pubmed ↗
- 7Burgess A.P.How conventional visual representations of time-frequency analyses bias our perception of EEG/MEG signals and what to do about it Front. Human Neurosci.13201921210.3389/fnhum.2019.00212 PMC 660320031293406 · doi ↗ · pubmed ↗
- 8Buzsáki G.Draguhn A.Neuronal oscillations in cortical networks Science 3042004192619291521813610.1126/science.1099745 · doi ↗ · pubmed ↗
