Introduction

Aperiodic neural activity is omnipresent both in invasive (e.g. ECoG1) and non-invasive (e.g. MEG/EEG2,3) recordings of electrophysiological brain activity and even in hemodynamic responses (e.g. fMRI4). In the frequency domain, when visualized in log-log coordinates (log-frequency/log-power), aperiodic activity manifests as a linear decay in power with an increase in frequency1 (i.e. the spectral slope). This part of the signal - following a so-called “power-law” distribution - is often referred to as “scale-free”, “1/f noise” or more recently “aperiodic activity”5 (see Figure 1A for an illustration).

Literature analysis of aperiodic activity investigated using M/EEG and ECG. A) Illustration of different types of aperiodic activity in the time and frequency domain. BC) We analyzed 489 abstracts indexed on PubMed using LISC21, a package for collecting and analyzing scientific literature. B) This analysis revealed that changes in aperiodic activity are related to similar traits, states and disorders in measures of both neural and cardiac activity. C) We further noted a tiny overlap of studies (N=4) that refer to both cardiac and cortical aperiodic activity in their abstracts. Yet, none of these studies considers confounding influences of cardiac aperiodic activity on the measurement of cortical aperiodic activity. D) We additionally found a steep increase related to the investigation of neural aperiodic activity in the 2020s highlighting the current interest of the topic in the neuroscience community. EF) We further downloaded and analyzed freely available full-texts of M/EEG studies investigating aperiodic activity to see to which extent and how cardiac activity was handled. This analysis revealed that only 17.1% of EEG studies remove cardiac activity and only 16.5% measure ECG (for MEG 45.9% removed cardiac; 31.1% mention ECG was measured). We were further interested in determining which artifact rejection approaches were most commonly used to remove cardiac activity, such as independent component analysis (ICA22), singular value decomposition (SVD23), signal space separation (SSS24), signal space projections (SSP25) and denoising source separation (DSS26). We found that the most commonly applied method both in EEG and MEG recordings was independent component analysis (ICA). GH) An arbitrary selection of previous studies (N = 60) shows a vast amount of different frequency ranges are used to investigate aperiodic activity. While a significant amount of studies looked into a range between ∼0.1-50 Hz (∼30%), most studies used a unique frequency range. I) Not only do the upper and lower bounds vary between studies, but also the general width of the fitting range can vary from 0.9 to 290 Hz.

In the past, aperiodic neural activity, other than periodic neural activity (local peaks that rise above the “power-law” distribution), was often treated as noise and simply removed from the signal e.g. via pre-whitening6,7. However, in recent years the analysis of aperiodic neural activity has gained interest (see Figure 1D). Several studies have shown that aperiodic neural activity is meaningfully modulated by various factors, such as age8, cognitive state (e.g. awake vs. sleep4) and disorders like Parkinson’s disease and epilepsy9,10. However, aperiodic activity is not only present in recordings of neural activity, but also part of other physiological signals such as cardiac and muscle activity, commonly measured using electrocardiography (ECG11) and electromyography12. Interestingly, and mostly overlooked by the neuroscience community (see Figure 1C), aperiodic activity measured using ECG (often referred to as power law or 1/f activity) is modulated by similar factors as neural aperiodic activity, including aging13, different cognitive states (eg. awake vs. sleep12,14) and disorders such as Parkinson’s disease and epilepsy15,16 (see also Figure 1B).

Furthermore, it is well-known that, via volume conduction, cardiac activity can also be captured in both invasive and non-invasive recordings of neural activity1719. Hence, it is also considered best practice to measure and remove cardiac activity from M/EEG recordings20. However, an analysis of openly accessible M/EEG articles that investigate aperiodic activity revealed that only 17.1% of EEG studies explicitly mention that cardiac activity was removed and only 16.5% measure ECG (45.9% of MEG studies removed cardiac activity and 31.1% of MEG studies mention that ECG was measured; see Figure 1EF). Additionally, investigations of aperiodic activity vary strongly by both the upper and lower bounds and the general width of the analyzed frequency ranges (1GHI). This further complicates the comparison of results across studies as physiological signals (e.g. cardiac activity) might differently affect different frequency ranges.

Considering that A) aperiodic neural and cardiac activity are modulated by similar traits, states, and disorders, and B) cardiac activity is often present but rarely removed from neural recordings, we ask: Are changes in aperiodic neural activity (in-)dependent from changes in aperiodic cardiac activity? To address this question, we turn our attention to the recently reported5,8 and replicated27 association between aperiodic activity and chronological age. Using the publicly available Cam-CAN dataset28,29, we find that the aperiodic M/EEG activity originates from multiple physiological sources. In particular, significant parts of age-related changes in aperiodic activity normally interpreted to be of neural origin can be better explained by cardiac activity. Furthermore, the effect of cardiac and neural age-related changes in aperiodic activity varies depending on the frequency range and recording site. Our results highlight the complexity of aperiodic activity while raising concerns when interpreting aperiodic activity as “neural“ without considering physiological influences.

Results

Aperiodic signals recorded using ECG are associated with aging and heart rate variability

Changes of aperiodic activity in recordings of neural and cardiac activity are associated with aging8,13. However, analyses of ECG signals - in the frequency domain - typically focus on (a-)periodic signals <0.4Hz30. These (compared to neural time series) slowly fluctuating signals are related to heart rate variability31. Changes in (a-)periodic activity at these low frequencies are well established physiological measures32. While meaningful information of the ECG can be extracted at much higher rates (e.g. ventricular late potentials [80-500Hz]33) substantially less is known about aperiodic activity above 0.4Hz in the ECG. To understand whether aperiodic activity recorded using ECG carries meaningful information about aging - at frequency ranges common in M/EEG recordings - the ECG data of 4 age-diverse populations with a total of 2286 subjects were analyzed.

After pre-processing (see Methods), age was used to predict the spectral slope of the ECG over various different frequency ranges (see Figure 2C). Due to the presence of a “knee” in the ECG data (for details regarding “knees” in power spectra see1,5,34), slopes were fitted individually to each subject’s power spectrum in a, from a neurophysiological perspective, low (0.25 – 20 Hz) and a high (10-145 Hz) frequency range. The split in low and high frequency range was performed to avoid spectral knees at ∼15 Hz in the center of the slope fitting range (see Supplementary Figure 1B for the distribution of knee frequencies across datasets). Our results show that the spectral slope flattened with age over a vast amount of different frequency ranges (see Figure 2C). These results are similar to what was reported in previous studies measuring “cortical” aperiodic activity. However, we also noted an age-related steepening of the spectral slope in one dataset (ECG Dataset 3 - Cam-Can) in the low frequency range (0.25 – 12 Hz, see Discussion).

Aperiodic signals recorded using ECG are related to aging and heart rate variability. A) grand average power spectra plotted separately per Dataset and the associated aperiodic power spectra for the lower (0.25-20 Hz) and higher (10-145 Hz) frequency range. BC) Age was used to predict the spectral slope using different upper and lower slope limits for higher (10 - 145 Hz) and lower (0.25 - 20Hz) frequency ranges. Significant effects, i.e. effects with credible intervals not overlapping with a region of practical equivalence (ROPE; see Methods - Statistical Inference), are highlighted in red or blue (see colorbar). Null effects, which were defined as effects with credible intervals completely within a ROPE, are highlighted in green. Results where no decision to accept or reject (see40) an effect could be made, are masked using hatches. D) To understand whether aperiodic cardiac activity also relates to common measures of heart rate variability we predicted the spectral slope using 90 different measures of heart rate variability. We find consistent (yet different) associations with mostly fractal and time domain measures in both lower and higher frequency ranges.

To understand whether the aperiodic ECG signal relates to common indices of heart rate variability, we conducted an exploratory analysis, where we predicted the spectral slope in various frequency ranges using 90 different indices of heart rate variability (implemented in NeuroKit235) across all 4 datasets. The results show that spectral slopes both in lower (0.25 - 20 Hz) and higher (10 - 145 Hz) frequency ranges relate to several indices of heart rate variability (see Figure 2D). Overall, spectral slopes in lower frequency ranges were more consistently related to heart rate variability indices(> 39.4% percent of all investigated indices) than spectral slopes in higher frequency ranges (> 16% percent of all investigated indices; see Figure 2D). In the lower frequency range (0.25 - 20Hz), spectral slopes were consistently related to most measures of heart rate variability; i.e. significant effects were detected in all 4 datasets (see Figure 2D). This includes fractal, multifractal, time and frequency domain analyses as well as indices extracted from the Poincaré plot. In the higher frequency range (10 - 145 Hz) spectral slopes were most consistently related to fractal and time domain indices of heart rate variability, but not so much to frequency-domain indices assessing spectral power in frequency ranges < 0.4 Hz. This suggests that spectral slopes > 10 Hz carry meaningful information about cardiac activity that is largely distinct from the frequency-domain information that is commonly investigated using ECG. In sum, these findings show that aperiodic activity, in frequency ranges that vastly exceeds those commonly explored in ECG analyses, may carry meaningful information about cardiac activity.

With regards to aging, the conducted analyses show that aperiodic activity measured via ECG is associated with aging at frequency ranges vastly exceeding those typically investigated via ECG, but overlapping with frequency ranges commonly measured in recordings of neural activity (see Figure 1G). Importantly, the direction of the association between age and aperiodic ECG activity is largely identical to that reported for age and aperiodic EEG activity5,8, motivating the investigation of these relationships in combined neural and cardiac measurements.

Cardiac activity is directly captured in EEG and MEG recordings

Aperiodic activity recorded using ECG (see Figure 2C) and EEG/ECoG8 is similarly modulated by age. In MEG and some EEG recordings cardiac activity is measured via ECG20. Components of the signal related to cardiac activity are then commonly removed via independent component analysis (ICA22; see Figure 1EF). In recordings of EEG the influence of cardiac activity is often deemed less problematic17, as a result ECG is rarely recorded (see Figure 1E).

We utilized concurrent ECG, EEG and MEG resting state recordings to examine to what extent ECG signals are present in the signals measured using MEG and EEG. We calculated so-called temporal response functions (see Methods), to detect whether the signals recorded at different locations (M/EEG vs. ECG) are instantaneously related (zero-time-lags; and therefore likely correspond to the same source) or if one lags behind the other (non zero-time-lags; likely different sources influencing each other e.g. via interoception see36). After pre-processing (see Methods) the data was split in three conditions using an ICA22. Independent components that were correlated (at r > 0.4; see Methods: MEG/EEG Processing - pre-processing) with the ECG electrode were either not removed from the data (Figure 3ABCD - blue), removed from the data (Figure 2ABCD - orange) or projected back separately (Figure 3ABCD - green). Afterwards, temporal response functions (encoding models; see Methods) between the signal recorded at the ECG electrode and the MEG/EEG sensors and feature reconstruction models (decoding models) were computed (for each condition respectively). Our results show that if ECG components are not removed via ICA, the ECG signal is captured equally strong at zero-time-lags both in EEG and MEG recordings (see Figure 3ACD). Even after removing ECG related components from the data TRF peaks emerged (although reduced) at zero-time-lags in EEG, but not in MEG recordings (see Figure 3AB). Furthermore, reconstruction (decoding) of the ECG signal was reduced, but remained above chance even after rejecting the ICA signal using ECG both in MEG and EEG recordings (r > 0). Interestingly, the presence of the ECG signal was more pronounced in EEG compared to MEG recordings, after removing ECG related components (βstandardized (EEG > MEG) = 0.97, HDI = [0.42, 1.52]; Figure 3D). Additionally, ECG related components extracted from MEG recordings were more related to the ECG signal than the components extracted from the EEG (βstandardized (EEG > MEG) = -0.76, HDI = [-1.35, -0.18]; Figure 3D). These results show that A) residual ECG activity remains in surface neural recordings, even after applying a very sensitive threshold to detect and remove ECG components via ICA and B) neural and cardiac activity are more difficult to separate in EEG as opposed to MEG recordings (see Figure 3ACD) resulting in more residual (after ICA) ECG related activity in EEG recordings.

Cardiac activity is captured in EEG and MEG recordings. AB) Cardiac activity is captured at zero time lags in concurrent MEG and EEG recordings, if the ECG signal is rejected via ICA this effect disappears in MEG, but not completely in EEG data. CD) Reconstruction of the ECG signal was impaired, but remained possible even after rejecting the ICA signal using ECG (both in MEG and EEG data). Notably, reconstruction of the ECG signal (after ICA) worked better in EEG than MEG data. A * indicates a “significant” effect (see Methods - Statistical Inference). E) To illustrate how aperiodic activity recorded using ECG might impact neural aperiodic activity we simulated cardiac and neural time series data. The neural time series data was simulated as in Gao et al.37 with an EI ratio of 1:2. The cardiac time series consists of a PQRST-Complex and different types of 1/f noise. G) Combining both cardiac and neural time series data shows that even if the PQRST-Complex is barely visible in the combined time domain signal, the resulting power spectrum can be heavily affected by simulated changes in aperiodic cardiac activity (GH).

To further illustrate how changes in aperiodic cardiac activity might impact “cortical” aperiodic activity recorded via M/EEG we simulated cardiac and neural time series data (see Figure 3E). The neural time series data was simulated as in Gao et al.37 with an EI ratio of 1:2. The cardiac time series consists of a simulated template PQRST-Complex at a rate of ∼1Hz (with jittered onsets) and different types of additional aperiodic activity. Combining both cardiac and neural time series data shows that even if the PQRST-Complex is barely visible in the combined time domain signal, the resulting power spectrum can be heavily affected by simulated changes in aperiodic cardiac activity (see Figure 3GH).

Age-related changes in aperiodic brain activity are most pronounced in cardiac components

ECG signals are captured in brain activity recorded using M/EEG (see Figure 3ABCD). Furthermore, aperiodic activity recorded using ECG is - just like aperiodic activity recorded using EEG/ECoG - modulated by age (see Figure 2C). However, it is unclear whether these bodywide changes in aperiodic activity are (in-)dependent.

To answer this question we are leveraging resting state MEG recordings of an age-diverse population obtained from the Cam-CAN inventory (N = 62728,29). After pre-processing (see Methods) an ICA was applied to separate MEG activity from activity related to the ECG. ICA components that were related to the ECG signal were identified using a correlation threshold (r > 0.4; same threshold as in 3ABCD). The data was split into three conditions (MEGECG not rejected, MEGECG rejected and MEGECG component; see Figure 3A) and projected back to the sensor space respectively. Age was then used to predict the spectral slope across 102 magnetometers and over a wide variety of frequency ranges with lower limits starting at 0.5 Hz in 1 Hz steps ranging until 10 Hz and upper limits starting at 45 Hz in 5 Hz steps ranging until 145 Hz (see Figure 3B) per subject (split by condition).

This analysis, which is depicted in Figure 4, shows that over a broad amount of individual fitting ranges and sensors, aging resulted in a steepening of spectral slopes across conditions (see Figure 4E) with “steepening effects” observed in 25% of the processing options in MEGECG not rejected, 0.5% in MEGECG rejected, and 60% for MEGECG components. The second largest cluster of effects were “null effects” in 13% of the options for MEGECG not rejected, 30% in MEGECG rejected, and 7% for MEGECG components. However, we also found “flattening effects” in the spectral slope for 0.16% of the processing options in MEGECG not rejected, 0.3% in MEGECGrejected, and 0.46% in MEGECG components.

Age-related changes in aperiodic brain activity are most pronounced in cardiac components. Age was used to predict the spectral slope at rest in three different conditions (ECG components not rejected, ECG components rejected and ECG components only) per channel across a variety of frequency ranges. A) Standardized beta coefficients either per channel averaged across all frequency ranges (left) or per frequency range (right) averaged across all channels. Age-related B) steepening, C) flattening and D) null effects in the spectral slope were observed and visualized in a similar manner as in A). EF) We further show the direction of results where we didn’t find enough evidence to support either a steepening, flattening or null effect. G) Summary of all observed findings in %. H) at some frequency ranges neural and cardiac aperiodic activity change independently with age (see also BC). I) At other frequency ranges cardiac and neural aperiodic activity are similarly modulated by age. We used cardiac and neural aperiodic activity as predictors for age in a multiple regression model to test whether both explain unique variance in aging. This analysis reveals that when adding both MEGECG component and MEGECG rejected as predictors age-related flattening effects were reduced, yielding no longer significant flattening results (see Figure 5B; upper panel). However, in case of the observed steepening effects, significant effects for MEGECG components remained in 98.75% of the tested frequency ranges (see Figure 5B; lower panel).

Interestingly, this analysis shows that over all options both flattening and steepening effects were most frequently observed on the MEGECG components. This analysis also indicates that a vast majority of observed effects show a steepening of the spectral slope with age across sensors and frequency ranges. This finding is contrary to previous findings showing a flattening of spectral slopes with age in recordings of both brain8 and cardiac activity13 (see also Figure 2C). We therefore conducted several control analyses both on data averaged across sensors (see Supplementary Figure S2, S3, S4, S5, S6, S7) and on the level of single sensors (see Supplementary Figure S8 & S9) to investigate to what degree this observation is based on decisions made during preprocessing (see Supplementary Text S1 - Control Analyses: Age-related steepening of the spectral slope in the MEG). In sum, all performed control analyses indicate that aging can robustly cause a steepening of the spectral slope in “cortical” activity recorded using MEG that is not explainable by age-related changes in head-movements or EOG activity, the application of different blind source separation algorithms (e.g. ICA and SSS), the algorithm used to extract the spectral slope (IRASA vs. FOOOF), and replicable across two large MEG datasets. These steepening effects have previously not been reported in EEG recordings, which suggests that they may be in part linked to physiologically measured 1/f noise differently affecting magnetic and electric recording devices38 (see Discussion).

However, despite the large amount of age-related steepening effects, we also noted age-related flattening in spectral slopes that occurred mainly at centrally and parietally located electrodes in lower frequency ranges between 0.5 and 45Hz (see Figure 4C). Importantly, these results overlap both in frequency range and recording site with some of the results previously reported in the literature8,39. A majority of results fall in the category “undecided” (see Figure 4EFG) as there was not enough evidence to either support a steepening, flattening or null effect40. Albeit undecided we still visualized the respective direction of these results labeling them either as “undecided/steepening” or “undecided/flattening” to give a descriptive overview of the associated spatial locations and frequency ranges in which these results were observed (see Figure 4EF). In sum, this analysis suggests that a flattening of spectral slopes with age can be observed at some of the previously reported frequency ranges (∼0.5-45Hz) and spatial locations (on central, parietal and occipital sensors). However, these results represented only 0.3% of effects across all processing settings (conditions, sensors and frequency ranges). Even when restrictively looking only at the investigated frequency ranges between 0.5 and 50Hz, only 1.2% (0.4% after maxfilter see Supplementary S8) of effects across these residual settings were showing an age related flattening of the spectral slope. This suggests that age-related flattening of the spectral slope is tied to specific recording sites and frequency ranges.

Age-related changes in aperiodic brain activity are linked to cardiac activity in a frequency dependent manner

So far we have shown that age-related steepening/flattening of the spectral slope in the MEG is both dependent on the investigated frequency range and the sensor selection. While a vast majority of our results indicate an age-related steepening of the spectral slope (in contrast to previous findings), we also noted a flattening of the spectral slope at a subset of central sensors in the lower frequency range (∼0.5-45Hz; in line with previous findings; 8,39). Some of the observed age-related flattening and steepening effects were solely present in one of the tested conditions (see Figure 4H). This suggests that aperiodic brain activity (MEGECG rejected), at some frequency ranges, changes with age independently of cardiac activity (MEGECG component) and vice versa. However, we also noted shared effects at other frequency ranges (i.e. effects present both in the MEGECG rejected and MEGECG component condition; see Figure 4I).

To see if MEGECG rejected and MEGECG component explain unique variance in aging at frequency ranges where we noticed shared effects, we averaged the spectral slope across significant channels and calculated a multiple regression model with MEGECG component and MEGECG rejected as predictors for age (to statistically control for the effect of MEGECG components and MEGECG rejected on age). This analysis was performed to understand whether the observed shared age-related effects (MEGECG rejected and MEGECG component) are in(dependent). The analysis revealed that when adding both MEGECG component and MEGECG rejected as predictors, age-related flattening effects were reduced, yielding no longer significant flattening results (see Figure 4B; upper panel). However, in case of the observed steepening effects, significant effects for MEGECG components remained in 98.75% of the tested frequency ranges (see Figure 4B; lower panel). In sum, these results suggest that whether or not aperiodic brain activity changes independently from cardiac activity with age depends on the recording site and the selected frequency range.

Discussion

Aperiodic processes are ubiquitous in nature41. They can be observed not only in physiological recordings but are also found in earthquakes, economics, ecology, epidemics, speech, and music41,42. In measurements containing multiple aperiodic signals, aperiodic signals might even influence each other (e.g. neural speech tracking43,44). The signals measured using M/EEG reflect a mixture of physiological sources (eg. cortical, cardiac, myographic and ocular), each of which exhibits aperiodic and periodic properties. To understand the (a-)periodic signal measured using M/EEG it is inevitable to understand how these different sources contribute to the (a-)periodic M/EEG signal. This becomes especially important when multiple physiological sources are modulated by the same traits, states and disorders. Cardiac and cortical recordings of aperiodic electrophysiological signals are related to age8,13, cognitive states (eg. awake vs. sleep4,14) and disorders such as Parkinson’s disease and epilepsy9,10,15,16. So far cardiac and cortical activity were mostly analyzed separately (see Figure 1C). In the present study we investigated whether age-related changes in neural and cardiac aperiodic activity are (in-)dependent. Our results suggest that significant parts of age-related changes in aperiodic activity normally interpreted to be of neural origin can indeed be best explained by cardiac activity.

Differences in aperiodic activity between magnetic and electric field recordings

Surprisingly, a vast amount of our results using MEG data indicate a steepening of the spectral slope with age. This is contrary to previous findings using mainly EEG/ECoG data8 that commonly show a widespread flattening of the spectral slope with age8. Similarly, we also noticed an age-related flattening on simultaneous ECG recordings (see Figure 2C). So do these discrepancies reflect general differences between electric vs. magnetic recordings of physiological activity? Previous research has shown scaling differences in the spectral slope between MEG and EEG recordings38. These scaling differences are partly widespread (overall flatter sloped spectra in MEG data) and partly regionally-specific (steeper sloped spectra at vertex in MEG compared to EEG recordings and vice versa at frontal regions). These observations have been linked to non-resistive properties of tissue (i.e. the propagation of the electric field through tissue is frequency dependent38,45). This differently affects the signal recorded using MEG and EEG, as magnetic field recordings are not distorted by the tissue conductivity of the scalp, skull, cerebrospinal fluid and brain46. An alternative, but not exclusive, hypothesis suggests that even under the assumption of a purely resistive medium (which is unlikely47,48), frequency scaling differences between MEG and EEG may emerge in relation to the space/frequency structure of the recorded activity49. Under this hypothesis lower frequencies are suggested to involve synchronous activity in larger patches of cortex whereas higher frequencies involve synchronous activity in smaller cortical patches. The authors demonstrate that EEG typically integrates activity over larger volumes than MEG, resulting in differently shaped spectra across both recording methods. During aging both changes in conductive tissue properties50,51 and functional connectivity occur52. Hypothetically, an interaction between several factors that differently affect MEG and EEG (e.g. age-related changes in non-resistive properties of tissue and in functional connectivity) may therefore potentially explain differently shaped spectra in MEG compared to EEG recordings. Future research is needed to explore the differences in magnetic and electric field recordings to understand the age-related changes to non-resistive tissue properties alongside age-related changes in functional connectivity. Another possible and not mutually exclusive explanation for the age-related steepening could be related to the ECG signal itself. We noticed an age-related steepening in the spectral slope of the ECG recording in the Cam-Can dataset between ∼0.25 and 12Hz (see Figure 2C). Depending on how the power of the aperiodic ECG signal in this low frequency band is reflected on the MEG sensors, this could also bias the spectral slope of the combined MEG/ECG signal. However, an age-related steepening of the ECG was only noted at a frequency range between ∼0.25 and 12 Hz making it an unlikely explanation of all the effects we detected in the MEG that span frequency ranges vastly exceeding the 0.25 - 12 Hz range.

Influences of preprocessing decisions on age-related changes in aperiodic activity

While differences between magnetic and electric field recordings may explain some observed differences in the widespread effects between electric and magnetic recordings of electrophysiological activity, we still observed flatter sloped spectra with age at a few MEG sensors across several frequency ranges (see Figure 4CHI). These findings are also in-line with previous analyses of MEG data investigating age-related changes in aperiodic activity53,54. The frequency dependence of the flattening/steepening effects (see Figure 4) suggests that the slope of the power spectrum can be very sensitive to different preprocessing decisions that may emphasize different aspects of (neuro-)physiological activity. In case of the MEG signal this may include the application of Signal-Space-Separation algorithms (SSS24,55), high and low pass filtering, choices during spectral density estimation (window length/type etc.), different parametrization algorithms (e.g. IRASA vs FOOOF) and selection of frequency ranges for the aperiodic slope estimation. We therefore applied a wide variety of processing settings when analyzing our data. Our results indicate overall steeper sloped spectra with increasing age across datasets and processing options for MEG. These observed steepening effects can be explained by cardiac activity (see Figure 4HI). Cardiac activity, in the form of the ECG, is also captured in EEG recordings (via volume conduction; see Figure 3ABCD). Our data suggests that the ECG signal is captured equally strong in concurrent MEG and EEG recordings (see Figure 3ABCD). Furthermore, separating ECG related components from neural activity using ICA seems to work worse in EEG compared to MEG recordings (see Figure 3AB). Difficulties in removing ECG related components from EEG signals via ICA might be attributable to referencing. A presence of the ECG signal on reference electrodes might lead to the spreading of ECG signals across all EEG electrodes. This can make it more difficult to isolate independent ECG components. Previous work12,56 has shown that a linked mastoid reference was particularly effective in reducing the impact of ECG related activity on aperiodic activity measured using EEG. However, it should be considered that depending on the montage, referencing can induce ambiguities to the measured EEG signal. Linked mastoid referencing for instance can distort temporal activity57, which is unproblematic in studies focussing on activity on central electrodes12,56, but should be considered when focusing on activity from other recording sites58.

To better delineate cardiac and neural contributions when investigating aperiodic activity, ECG recordings should become more standard practice in EEG research. Additionally, further method development is needed to better separate cardiac from neural activity in M/EEG recordings.

(Neuro-)physiological origins of aperiodic activity

Aperiodic activity is present in recordings of different physiological signals, including neural4, cardiac11, and muscle activity12. Our study investigated age-related changes in aperiodic activity using MEG, and found that these changes vary depending on the frequency range and recording site. Specifically, some changes were found to be uniquely linked to either cardiac or brain activity, while others were present in both signals (Figure 4H). Interestingly, some of these shared effects could be attributed to cardiac activity (see Figure 4I). However, some effects appeared to be equally influential in explaining age-related changes in both cardiac and brain activity, such that the individual effects disappeared when analyzed jointly (see Figure 4I, upper panel).

These findings underscore the complexity of analyzing aperiodic activity, indicating that the aperiodic signal recorded non-invasively originates from multiple physiological sources. These shared effects are particularly interesting, as they suggest that a common mechanism across physiological signals exists that underlies age-related changes of aperiodic activity. In fact, neural and vascular processes are known to interact with each other59. Cardiovascular activity, in the form of the ECG, is also captured in M/EEG recordings (via volume conduction; see Figure 3ABCD). How longitudinal changes in neural and cardiac processes influence age-related changes in aperiodic activity is an exciting research question. This could be investigated in future studies utilizing longitudinal recordings of joint cardiac and neural activity. Understanding the relationship between neural and cardiac aperiodic activity is essential not only for identifying common underlying processes, but also for improving our understanding of the individual generative mechanisms of cardiac and neural aperiodic activity.

For example, a current popular hypothesis states that the generative process underlying aperiodic neural activity is mainly attributed to differences in the ratio between excitatory (AMPA) and inhibitory (GABA) currents that influence the slope of the neural power spectrum37. Excitatory currents such as AMPA decay faster, then inhibitory currents like GABA. This means that flatter power spectra may be indicative for the presence of more excitatory than inhibitory currents and vice versa (steeper sloped power spectra37). This theory is (in part) based on research showing that GABAergic drugs like propofol37 and Glutamatergic drugs like ketamine60 modulate the slope of electrophysiologically measured power spectra. However, propofol and ketamine not only influence neural activity, but also influence heart rate variability (a core component of the ECG61,62). So, are drug induced effects on the slope of the power spectrum (measured using surface electrodes) conflated by changes in cardiac activity? Previous work has shown that propofol induced changes to the spectral slope were still present in EEG recordings after using ICA to reject ECG components from the data56. However, our results suggest that cardiac activity remains in EEG signals even after doing an ICA with a very sensitive rejection criterion (see Figure 3ABCD). It is therefore plausible that drug induced effects on aperiodic “neural” activity can still be conflated by cardiac activity. Future work is needed to see to what extent drug induced changes in aperiodic neural activity can also be attributed to ECG signals. Similar caveats adhere to other findings of functional modulations in aperiodic signals in cognitive states (e.g. awake vs. sleep4,14) and disorders like Parkinson’s disease and epilepsy9,10,15,16. This calls for the initiation of - ideally - multicenter coordinated activities aimed to replicate 1/f aperiodic neural activity effects (e.g., induced by anesthetic drugs) while considering cardiac activity. Another pending research question lies in understanding whether our findings on non-invasive data also translate to data from invasive recordings. Given that cardiac activity is also captured on e.g. ECoG19, an influence is not unlikely depending on the strength of cardiac activity relative to the measured neural activity.

Outlook

So far, we have shown that slow physiological changes (e.g. aging) can modulate aperiodic cardiac activity. To further understand the extent by which aperiodic ECG signals are also co-modulated by rapid event-related changes e.g. in cognitive tasks, we investigated the ECG recordings of a dataset employing a working memory paradigm63,64(see Figure 5A; for details Methods - Working Memory Analysis). Similarly, as in Donoghue et al.5 we compared a prestimulus “Baseline” to a post stimulus “Delay” period during a working memory task. Interestingly, akin to the EEG results reported by Donoghue et al.5, we observed a consistent flattening of the aperiodic slope for cardiac activity in the delay period (see Figure 5BD; βstandardized = 0.23, HDI = [0.16, 0.32]). Furthermore, upon comparing the change of slope relative to the baseline period across different levels of cognitive load we noticed that the flattening effect of the slope was modulated by cognitive load (see Figure 5E). The slope flattened the most in the condition with the highest working memory load (13 items; βstandardized = 0.42, HDI = [0.33, 0.52]), followed by the high load (9 items; βstandardized = 0.39, HDI = [0.29, 0.48]) and the low load condition (5 items; βstandardized = 0.25, HDI = [0.15, 0.35]). These results highlight the importance of considering the influence of cardiac activity when investigating changes in aperiodic activity in a state dependent manner.

event-related spectral parametrization of working-memory in the ECG. A) Subjects were asked to either “listen” to or “memorize” a sequence of 5,9 and 13 digits (adapted from 63,64). Spectra in the “Baseline” period were compared to the “Delay” period of the “memorize” condition. B) The averaged evoked difference in the aperiodic spectrum between baseline and delay periods. The spectra were reconstructed from the aperiodic parameters of the spectral fits and plotted as a function of frequency past the average knee frequency (∼5Hz; C). The spectral slope of the ECG signal was significantly flatter during the “Delay” compared to the “Baseline” period (D). E) The flattening of the spectral slope relative to “Baseline” was strongest in conditions with higher working memory load. Error bars indicate standard errors of the mean. A * indicates a “significant” effect (see Methods - Statistical Inference).

While the present analysis focuses on aperiodic activity, our results might also translate to older findings focusing on “presumably” periodic neural activity in canonical frequency bands (e.g. delta, theta, alpha). Until recently aperiodic activity was often discarded as noise. Recently developed algorithms have opened up possibilities to separately analyze aperiodic and periodic activity5,65. This has for instance revealed that previously suspected periodic age-related changes in alpha power may actually be attributable to differences in aperiodic activity5,27. As we have shown that age-related changes in aperiodic activity are linked to cardiac activity it is possible that our results also translate to previous studies conflating periodic and aperiodic activity.

Recommendations

Changes in aperiodic activity of peripheral and neural signals are co-modulated by similar traits, states and disorders. To better disentangle physiological and neural sources of aperiodic activity we suggest the following procedure to both (1) measure and account for (2) physiological influences.

  1. Measure potential confounding physiological signals explicitly (e.g. ECG) and test whether there is an association between the respective (a-)periodic signal and the feature of interest (e.g. age). In case that the feature of interest co-modulates neural and physiological aperiodic activity it is necessary to account for this.

  2. Reduce the influence of physiological signals on neural activity as much as possible. Currently, ICA can be used to at least reduce the impact of cardiac activity (see also Figure 3). However, doing an ICA is no guarantee that peripheral physiological activity is fully removed from the cortical signal. Especially, the process of deciding whether or not an ICA component is e.g. either reflective of cardiac or neural activity can pose a challenging problem. For instance, when we only extract cardiac components using relatively high detection thresholds (e.g. r > 0.8), we might end up misclassifying residual cardiac activity as neural. In turn, we can’t always be sure that using lower thresholds won’t result in misinterpreting parts of the neural effects as cardiac. Both ways of analyzing the data can potentially result in misconceptions. In the present study, we show that our effects are largely consistent across different thresholds (see Supplementary Figure S7), but future research should be devoted to developing objective criteria that can be used to make informed decisions, when results are inconsistent. Additionally, it might be necessary to invest in the development of new methods to better separate peripheral from neural signals, for instance combinations of ICA with other methods such as e.g. empirical mode decomposition (see66,67). Other promising approaches may potentially involve bipolar referencing for EEG or spatial referencing approaches such as current source density68. How these approaches impact aperiodic activity should be further investigated. For MEG source reconstruction approaches like beamforming may be promising (see e.g. for reduction of tACS artifacts in the MEG69). In the case that it is not possible to sufficiently reduce the influence of physiological signals on neural activity it is necessary to control for this in the statistical model (e.g. by using the confounding physiological aperiodic signal as a covariate).

The present study, focusing on age-related changes in aperiodic neural and cardiac activity indicates that the aperiodic signal recorded using surface sensors/electrodes originates from multiple physiological sources. Cardiac and neural age-related changes in aperiodic activity vary depending on the frequency range and recording site. Conflating cardiac and neural contributions to aperiodic activity obstructs our understanding of both neural and cardiac aperiodic processes and should be avoided. These results highlight the need for concurrent recordings of cardiac and neural activity to further increase our understanding of both cortical and cardiac aperiodic activity and its association with age, cognitive states, and disorders.

Methods

Sample

The present study builds on resting-state data from several sources. ECG Datasets 1 & 2 were obtained from PhysioNet70 containing 1121 healthy volunteers between 18 and 92 years of age (divided into 15 age groups for anonymization purposes)71. The MEG data analyzed in this study was obtained from two different sources: the Cam-CAN repository (main manuscript28,29) and resting-state data routinely recorded at the University of Salzburg (Supplementary Figure S5). The sample obtained from Cam-CAN contained 655 healthy volunteers with an age range between 18 and 88 years of age with an average age of 54 and a standard deviation of 18 years. The sample obtained from the University of Salzburg contained 684 healthy volunteers with an age range between 18 and 73 years of age with an average age of 32 and a standard deviation of 14 years. ECG was recorded alongside all MEG recordings. Notably the age distribution recorded at the University of Salzburg was bimodal (with 423 subjects being below 30, the sample does not reflect an age-diverse population; see Supplementary Figure S5). For the ECG data, no specific exclusion criteria for participants was applied. Data from MEG/EEG participants were excluded when no independent heart component (NCam-Can= 18) equal or above the threshold was found (r > 0.4; see MEG/EEG Processing - pre-processing). Furthermore, when the automated processing procedure resulted in errors, data was considered as missing. This resulted in a total of 1104 ECG recordings from PhysioNet, 627 MEG recordings from Cam-CAN and 655 MEG recordings from the University of Salzburg.

Literature analysis

The literature analysis was performed using the Literature Scanner (LISC)21 toolbox and custom written python functions. Briefly, LISC allows for the collection and analysis of abstracts and meta information from scientific articles through a list of search terms. In this manuscript, we used lists of terms for aperiodic activity (e.g. 1/f, power law, scale-free, etc.), recording devices (ECG, MEG and EEG) and related association terms (e.g. aging, working memory etc.) with relevant synonyms. The articles (NArticles=489) that reference these terms in their abstracts were extracted from the PubMed database. We extracted the proportion of articles related to aperiodic activity and associated with ECG and/or M/EEG (see Figure 1A). Furthermore, we displayed the publishing dates of articles in ECG or M/EEG over time (see Figure 1B). Additionally, we extracted the article counts of several association terms (e.g. aging) and visualized them separately for ECG and M/EEG. We then extracted the doi’s of the articles associated with MEG and EEG separately and sequentially extracted the HTML of the full-texts (whenever the texts were accessible). This resulted in 213 articles for EEG and 66 articles for MEG. Afterwards we extracted search words related to ECG and cardiac activity (with relevant synonyms and word stems; cardio, cardiac, heart, ecg) from each manuscript along the respective word context (400 signs before and 600 after each search term; for each time a search word was mentioned in one of the extracted manuscripts). Manuscripts in which the word stems “reject” (and related synonyms and word stems; remov, discard, reject) were mentioned in one of the word contexts were temporally marked as “valid”. The word contexts were further queried for search terms related to common blind source separation artifact rejection approaches such as independent component analysis (ICA22), singular value decomposition (SVD23), signal space separation (SSS24), signal space projections (SSP25) and denoising source separation (DSS26). All valid word contexts were then manually inspected by scanning the respective word context to ensure that the removal of “artifacts” was related to cardiac and not e.g. ocular activity (in case cardiac activity was not the target the manuscript was marked as invalid). Finally, we visualized the proportion of articles in relation to the respective search words (see Figure 1DE). Furthermore, we arbitrarily selected 60 articles investigating aperiodic activity and visualized the investigated frequency ranges alongside their respective upper and lower bounds (1FGH).

Statistical Inference

To investigate the relationship between age and aperiodic activity recorded using MEG, we used bayesian generalized linear models (GLMs) either built directly in PyMC (a python package for probabilistic programming72) or in Bambi (a high-level interface to PyMC73). Decisions for either Bambi or PyMC were made based on the accessibility of appropriate statistical families for the respective dependent variables in a GLM. Priors were chosen to be weakly informative74 (exact prior specifications for each model can be obtained from the code in the corresponding authors github repository; see Data and Code availability). Results were considered statistically significant if 94% of the highest (probability) density interval (HDI) of the posterior for a given standardized β-coefficient or (partial) correlation coefficient was not overlapping with a region of practical equivalence between -0.1 and 0.1 as suggested by Kruschke40 based on negligible effect sizes according to Cohen (1988). Furthermore, it was ensured that for all models there were no divergent transitions (Rhat < 1.05 for all relevant parameters) and an effective sample size > 400 (an exhaustive summary of bayesian model diagnostics can be found in 76).

MEG/EEG Processing

MEG/EEG Processing - Data acquisition

MEG data (Cam-CAN; Figure 2ABCD, 3, 4 & 5) was recorded at the University of Cambridge, using a 306 VectorView system (Elekta Neuromag, Helsinki). MEG data (Salzburg; Figure 3 & Supplementary Figure S5) was recorded at the University of Salzburg, using a 306 channel TRIUX system (MEGIN Oy, Helsinki). Both systems are equipped with 102 magnetometers and 204 planar gradiometers and positioned in magnetically shielded rooms. In order to facilitate offline artifact correction, electrooculogram (VEOG, HEOG) as well as ECG was measured continuously in both recording sites. In a subset of the Salzburg recordings EEG was measured additionally (see Figure 3ABCD) using a 32-channel system provided by the MEG manufacturer. Data recorded at Cambridge was online filtered at 0.03-330 Hz, whereas data recorded at Salzburg was online filtered at 0.1-333 Hz with a 1000 Hz sampling rate at both recording sites. Five Head-Position Indicator coils were used to measure the position of the head. All data used in the present study contains passive resting-state measurements lasting about ∼8min (Cambridge) and ∼5min (Salzburg). Further data processing at both recording sites was conducted similarly and will therefore be reported together.

MEG/EEG Processing - pre-processing

Initially, a Signal-Space-Separation (SSS24,55) algorithm was used to find and repair bad channels (implemented in MNE-Python version 1.277). The data was further processed by either not applying further SSS cleaning (main manuscript) or by applying an SSS algorithm for additional data cleaning (Supplementary Figure S6 & S8; implemented in MNE-Python version 1.277). The data were afterwards high-pass filtered at 0.1Hz using a finite impulse response (FIR) filter (Hamming window). EEG data was re-referenced to the common average (common practice in the field58). For extracting physiological “artifacts” from the data, 50 independent components were calculated using the fastica algorithm22 (implemented in MNE-Python version 1.2; note: 50 components were selected for MEG for computational reasons for the analysis of EEG data no threshold was applied). As ICA is sensitive to low-frequency drifts, independent components were calculated on a copy of the data high-pass filtered at 1Hz. Components related to cardiac and ocular activity were determined via correlation with concurrent ECG, VEOG and HEOG recordings. A threshold of r > 0.4 was applied to detect the ECG components and a threshold r > 0.8 for detecting EOG components in the data. The more sensitive threshold used for ECG component detection was decided upon based on the strong presence of ECG signals in resting state M/EEG recordings (see Figure 2EFGH). The computed ICA was then applied to the original data, either rejecting all components apart from those related to the ECG, or rejecting only EOG related components, or ECG and EOG related components. This resulted in three conditions MEGECG not rejected, MEGECG rejected and MEGECG component. The data were then split into 2 second epochs and residual artifacts were determined using an adaptive and automatic artifact detection method (the “Riemannian Potato” implemented in pyriemann78). Epochs were rejected when the covariance matrix of an epoch differed by >2.5 standard deviations from a centroid covariance matrix.

MEG/EEG Processing - Temporal Response Functions

To estimate the extent at which ECG activity is captured by MEG/EEG recordings, we calculated temporal response functions (TRFs). In brief, the assumption behind a TRF is that a dependent variable is the result of one (or several) predictor variables. This approach can be used to model a time-series as a linear function of one (or several) time series and can be formulated (for a single predictor79) as:

Where h represents the TRF, sometimes described as filter kernel, and τ represents potential delays between y and x (for an extensive explanation of the algorithm used herein see 79). Typically, this approach is used to estimate spectro-temporal receptive fields, e.g. in response to auditory stimuli80, where the interpretation of a TRF follows that of an ERP/F in response to a continuous input signal81. This model can be used as a forward or encoding model to predict the brain response from a stimulus representation or as a backward or decoding model to reconstruct a stimulus representation from brain recordings. We used this approach here to detect whether ECG and M/EEG influence each other. Concurrent recordings of MEG and EEG data alongside ECG were only available for a subset of subjects (N = 20). We therefore selected those subjects from the subjects data pool of the Salzburg sample to perform the TRF analysis. Forward and Backward models were calculated between the M/EEG signal and the signal recorded using ECG. This was done to see if signals measured using M/EEG and ECG follow/precede each other (non zero-time lags; e.g. via interoception see36) or if the signals are instantaneously related (zero-time-lags; therefore likely corresponding to the same underlying signal source). As computations of TRFs are memory and time extensive, the MEG, EEG and ECG data were additionally low pass filtered at 45Hz (to avoid aliasing) and downsampled to 100Hz before the analysis (a common practice when computing TRFs; see 79). For the computation of the TRFs, the ECG and M/EEG data were normalized (z-scored), and an integration window from -250 to 250 ms with a kernel basis of 50 ms Hamming windows was defined. To prevent overfitting, model parameters were adjusted using a four-fold nested cross validation (two training folds, one validation fold, and one test fold), each partition served as a test set once. The accuracy of the model was assessed by calculating the Pearson correlation coefficient between the respective predicted and measured time series. We calculated the same model in the forward (encoding) and backward (decoding) direction. The accuracy of the decoding model was used in Figure 3CD to assess how well the ECG time series was decodable from M/EEG data. For the respective encoding model we visualized the non-normalized encoding weights (see Figure 3AB). The TRF time courses visualized in Figure 3A were obtained by computing a principle component analysis (PCA82) within subject and across all channels, whereas the distribution of peaks visualized in Figure 3B was obtained by calculating the root mean square across channels and extracting the maximum value.

MEG/EEG Processing - Spectral analysis

Power spectra were computed using Welch’s method83 between 0.1 and 145Hz (0.5 Hz resolution). Aperiodic activity was extracted using the IRASA method 65 implemented in the YASA package84. Furthermore, in addition to the main model fit between 0.1-145Hz, additional slopes were fitted to the aperiodic spectrum in 5Hz steps starting from 45Hz as upper frequency limit and in 1Hz steps from 0.5Hz to 10Hz as lower frequency limit. Additionally, to investigate the robustness of our result the spectral parameterization algorithm (implemented in FOOOF version 1.0.05) was used to parametrize raw power spectra. Power spectra were parameterized across frequency ranges of 0.5–145 Hz. FOOOF models were fit using the following settings: peak width limits: [1 – 6]; max number of peaks: 2; minimum peak height: 0.0; peak threshold: 2.0; aperiodic mode: ‘fixed’. Goodness of fit metrics for both IRASA and FOOOF can be found in Supplementary S2.

ECG Processing

The ECG data recorded as part of the MEG recordings were processed alongside the MEG data. Therefore the pre-processing and spectral analysis settings from the section “MEG/EEG Processing” also apply to the ECG aspect of datasets 3 & 4 (see Figure 2). Below, ECG processing for the data obtained from PhysioNet are described.

ECG Processing - Data acquisition

The ECG data obtained from PhysioNet were acquired at the Jena university hospital 71. The study was approved by the ethics committee of the Medical Faculty of the Friedrich Schiller University Jena. All research was performed in accordance with relevant guidelines and regulations. The informed written consent was obtained from all subjects. ECG data were recorded at a sampling rate of 1000 Hz using one of two different recording devices. Either an MP150 (ECG100C, BIOPAC systems inc., Golata, CA, USA) or a Task Force Monitor system (CNSystems Medizintechnik GmbH, Graz AUT). More detailed information about the ECG recordings can be obtained from physionet.org. The data were further analyzed using spectral analysis.

ECG Processing - Spectral analysis

Power spectra were computed using Welch’s method83 implemented in neurodsp85 between0.25 and 145Hz (0.1 Hz resolution). The spectral parameterization algorithm (implemented in FOOOF version 1.0.05) and IRASA (implemented in the YASA package84) were then used to parametrize the power spectra. Power spectra were parameterized across a frequency range of 0.25–145 Hz using the same settings specified in “MEG/EEG Processing - Spectral analysis”). However, the aperiodic mode was set to ‘knee’ given that the power spectra (on average) showed a clear ‘knee’ in log-log coordinates (see Supplementary Figure S1). Additionally, we fitted several slopes to the aperiodic spectrum split in a lower range (0.25 – 20 Hz) and a higher range (10 – 145 Hz). The split in low and high frequency range was performed to avoid spectral knees at ∼15 Hz in the center of the slope fitting range.

Working Memory Analysis Sample

As an outlook to which extent the present findings, focussed on aging, may translate to studies investigating changes in “cortical” aperiodic in other settings (e.g. in a state dependent) we analyzed data from a working memory paradigm63,64 (see Figure 5A for an overview of the experimental paradigm). The original study included 86 healthy volunteers, due to technical difficulties ECG and EEG recordings were only available for a subset of subjects. In the present study we analyzed the data of 48 Subjects. The age-range of the investigated sample was between 18 and 24 years with an average age of 20 years. Informed consent was obtained from each participant and the experimental protocol was approved by the Ural Federal University ethics committee.

Digit span task

Each trial began with an exclamation mark for 0.5 s along with a recorded voice command “begin” – indicating the start of the trial. The exclamation mark was followed by an instruction to either memorize the subsequent digits in the correct order (memory condition) or to just listen to the digits without attempting to memorize them (control condition). The instruction was followed by a three-second “Baseline” period. Then either 5, 9, or 13 digits were presented auditorily with an interstimulus interval of 2 seconds. The digits were presented with a female voice in Russian. Each of the digits from 0 to 9 was used, and the mean duration of each digit was 664 ms (min: 462 ms, max: 813 ms). The last digit in the sequence was followed by a 3-sec “Delay” period. During the baseline, encoding, and ”Delay” period, participants were fixating a cross (1.2 cm in diameter) on the screen. In the memory condition, the participants were asked to recall each digit out loud in the correct order starting from the first one (i.e., serial recall). The retrieval was recorded by a computer microphone controlled by PsychoPy86. The participants had 7, 11, and 15 seconds for 5, 9, and 13 digit sequences, respectively, to recall the digits. The retrieval was followed by an inter-trial interval of 5 s. In the control condition (passive listening), presentation of the digits and the “Delay” period was followed immediately by an inter-trial interval of the same duration. There were 9 blocks in total with 54 passive listening and 108 memory trials overall. Each block consisted of 3 control (one of each load) followed by 12 memory (4 trials on each level of load, in random order) followed again by 3 control trials. Before the main working memory task, each participant completed 6 practice trials (3 passive listening and 3 memory trials).

Data acquisition

ECG was recorded from one channel with the active electrode placed on the right wrist and the reference electrode on the left wrist, and the ground on the left inner forearm at 3 cm distally from the elbow.

Data analysis

The continuous ECG data was high-pass filtered at 0.1Hz using a finite impulse response (FIR) filter (Hamming window) and downsampled to 500Hz after applying an anti-aliasing filter. The downsampled data was then split in 3 second epochs separately for the “Baseline” and “Delay” periods, as well as the amount of presented digits (5, 9 or 13). The epoched data was further analyzed either by calculating power spectra over the data split in the “Baseline” and “Delay” condition irrespective of the amount of presented digits (Figure 5BCD) or by retaining the information about the amount of presented digits (Figure 5E). Power spectra were computed using Welch’s method83 between 0.1 and 245 Hz (0.333 Hz resolution). The spectral parameterization algorithm (implemented in FOOOF version 1.0.05) was then used to parametrize the power spectra. Power spectra were parameterized across a frequency range of 0.1–245 Hz using the same settings specified in “MEG/EEG Processing - Spectral analysis”). However, the aperiodic mode was set to ‘knee’ given that the power spectra (on average) showed a clear ‘knee’ in log-log coordinates.

Statistical analysis

To investigate the relationship between working memory load and aperiodic activity recorded via ECG we implemented bayesian linear mixed effect models in Bambi73 using the following formulas according to the Wilkinson notation87 with the “Baseline” condition set as Intercept in the following models.

Data Visualization

Individual plots were generated in python using matplotlib, seaborn, and mne-python. Plots were then arranged as cohesive figures with affinity designer (https://affinity.serif.com/en-us/designer/).

Data availability

The data analyzed in the main manuscript are mostly obtained from open data sources. The ECG data (Dataset 1 & 2; Figure 2) were obtained from physionet.org. The MEG/EEG dataset (Figure 3) was obtained at the University of Salzburg as part of routine resting state MEG recordings and is available upon request. The data for the MEG analysis in the main manuscript (Figure 4) are obtained from cam-can.org. The data for the working memory analysis was obtained from openneuro.org (Figure 5).

Code availability

All code used for the analysis is publicly available on GitHub at: https://github.com/schmidtfa/cardiac_1_f & https://github.com/schmidtfa/ecg_1f_memory.

Acknowledgements

The authors thank Tzvetan Popov, Freek van Ede, Rik Henson and Kamen Tsvetanov for helpful comments and discussions and Thomas Hartmann for a code review. This research was funded in whole or in part by the Austrian Science Fund (FWF) [10.55776/W1233]. For open access purposes, the author has applied a CC BY public copyright license to any author accepted manuscript version arising from this submission. The authors declare no conflicts of interest.

Author contributions

Conceptualization: FS, NW

Formal Analysis: FS, SKD

Investigation: FS

Methodology: FS, GD Software: FS

Supervision: NW, GD

Visualization: FS

Writing—original draft: FS

Writing—review & editing: FS, SKD, ET, NW, GD, DPK

Supplementary material

Supplementary Text S1 - Control Analyses: Age-related steepening of the spectral slope in the MEG

First, we conducted a median split of age to compare the raw power spectra averaged across channels (see Supplementary Figure 2A). This shows that on the grand average across channels the spectral slope was slightly steeper in older subjects even before spectral parametrization. Furthermore, the use of blind source separation artifact rejection approaches may influence power spectral densities by reducing external noise in the signal. We therefore investigated whether and how the use of a Signal-Space-Separation algorithm (SSS24,55) and different ICA thresholds influence the reported results. On the grand average across sensors slightly stronger steepening effects were observed for the MEGECG not rejected data compared to MEGECG rejected when not cleaning the data using SSS and vice versa (see Supplementary Figure S6 for a comparison). On the level of single sensors the application of SSS resulted in a further reduction of both flattening and steepening effects in all conditions except for MEGECG components, where we noted a 20% increase in steepening effects (see Supplementary Figure S7). To ensure that the effects shown are not dependent on the ICA thresholds used, an analysis predicting the grand average spectral slope based on age was also conducted for other correlation thresholds showing an overall similar pattern (see Supplementary Figure S6). We further managed to replicate the finding that age has the strongest impact on the spectral slope of the ECG components using a different algorithm to extract aperiodic activity (FOOOF5; see Supplementary Figure S2 & S3) and on an additional dataset containing resting state recordings (N = 655) obtained as part of MEG studies routinely conducted at the University of Salzburg (see Supplementary Figure S4).

While all these control analyses indicate that the age-related steepening effects occur robustly in the MEG it is unclear whether they can be exclusively attributed to cardiac activity. Crucially, the topography of the observed steepening effects is present across the scalp and prominent at frontal and temporal sensors around the MEG helmet (albeit also observable at central locations; see MEGECG Components). This topography is suggestive of artifacts induced by muscle activity (e.g. head/eye movements). We therefore used the subject’s head movement information obtained via continuous hpi measurements as a covariate (i.e. 5 coils continuously emitting sinusoidal waves at 293 Hz, 307 Hz, 314 Hz, 321 Hz and 328 Hz to localize the head position in the scanner). While head movements increased significantly with aging (βstandardized = 0.23, HDI = [0.18, 0.28], see Supplementary Figure S8) it was not sufficient to explain the observed steepening or flattening effects in the spectral slope (see Supplementary Figure S8). We further investigated age-related changes to the spectral slope of the vertical and horizontal EOG channels indicating no significant age-related steepening/flattening across the investigated frequency ranges (see Supplementary Figure S8). Surprisingly, all these results indicate an age-related steepening in the spectral slope of MEG data both when averaged across sensors and on most individual sensors across two large datasets. This finding is contrary to previous findings showing a flattening of spectral slopes with age in recordings of brain activity8 and cardiac activity13 (see also Figure 2C). This discrepancy can potentially be explained by multiple factors including, physiologically measured 1/f noise differently affecting magnetic and electric recording devices38, preprocessing choices, fitting ranges for the 1/f slope, electrode selection etc. (see discussion).

ECG Spectra + Knee Frequency:

Aperiodic signals recorded using ECG can be associated with aging. A) grand average power spectra plotted separately per Dataset B) indicating a strong “knee” from ∼15Hz. CD) The spectral slope recorded using ECG was calculated using different upper frequency limits and correlated with age. This analysis shows that the association between age and spectral slope increased until ∼145 Hz in 3 of 4 datasets.

Raw Spectra + Goodness of fit metrics:

Grand average power spectra for the MEG data recorded at Cambridge and split in the three conditions MEGECG not rejected, MEGECG rejected, MEGECG components. A) Spectra averaged across channels split in older and younger subjects (median split). B) Aperiodic activity was extracted from the power spectra using the IRASA method 65 implemented in the YASA package 84. * indicate a “significant” effect (see Methods - Statistical Inference). C) Goodness of fit was assessed using R2 for both the IRASA and FOOOF model fit (see Supplementary S2/S3 for FOOOF fits). D) The spectral exponent obtained from FOOOF was compared to the spectral slope extracted from IRASA showing that both are highly related.

- Replication FOOOF:Age-related changes in aperiodic brain activity can be explained by cardiac components A) Age was used to predict the spectral slope at rest in three different conditions (ECG components not rejected [blue], ECG components rejected [orange], ECG components only [green]. B) Age distribution in the sample recorded at the University of Cambridge. C) Comparison of standardized beta coefficients shows that the strongest association with age is present on the data reflecting only ECG components * indicate a “significant” effect (see Methods - Statistical Inference).

Replication FOOOF Comparison of Knee vs Fixed aperiodic modes:

Comparison between Fixed and Knee model fits using FOOOF A) Age was used to predict the spectral slope at rest in three different conditions (ECG components not rejected [blue], ECG components rejected [orange], ECG components only [green]. B) Goodness of fit was assessed using R2 and compared between “Fixed” and “Knee” models. C) Comparison of the “Knee” and “Fixed” model fits shows that not fitting the knee was offering on average the better balance between goodness-of-fit and model complexity as suggested by the Bayesian Information Criterion (BIC). Error bars indicate confidence intervals.

Replication Salzburg Sample:

Age-related changes in aperiodic brain activity can be explained by cardiac components A) Age was used to predict the spectral slope at rest in three different conditions (ECG components not rejected [blue], ECG components rejected [orange], ECG components only [green]. B) Age distribution in the sample routinely recorded as part of MEG measurements at the University of Salzburg. C) Comparison of standardized beta coefficients shows that the strongest association with age is present on the data reflecting only ECG components * indicate a “significant” effect (see Methods - Statistical Inference).

SSS Maxfilter Analysis:

Age-related changes in aperiodic brain activity are explained by cardiac components AC) Age was used to predict the spectral slope (fitted at 0.1-145Hz) at rest in three different conditions (ECG components not rejected [blue], ECG components rejected [orange], ECG components only [green]. BD) The analysis in AC) was repeated for different fitting ranges with lower limits starting at 0.5 Hz in 1Hz steps ranging until 10 Hz and upper limits starting at 45 Hz in 5 Hz steps ranging until 145 Hz. Significant effects, i.e. effects with credible intervals not overlapping with a region of practical equivalence (ROPE; see Methods - Statistical Inference), are highlighted in red or blue (see colorbar). Null effects, which were defined as effects with credible intervals completely within a ROPE, are highlighted in green. Results where no decision to accept or reject (see40) an effect could be made, are masked using hatches.

ICA Thresholds:

A) The relationship between age and the aperiodic slope was compared within three conditions (MEGECG not rejected [blue], MEGECG rejected [orange] and MEGECG component [green] across different thresholds to select cardiac components from independent components of the MEG signal via ICA. Importantly, we always detected a significant relationship between age and aperiodic activity for the ECG component. While we did not always detect a significant relationship between age and aperiodic activity in MEG ECG not rejected and MEG ECG rejected conditions, the standardized β coefficients are heavily overlapping within each condition. Notably using a high threshold (r > 0.8) failed to identify cardiac components in >50% of the subjects. We therefore opted for a lower threshold of 0.4 for all related analysis in the main manuscript. Significant effects, i.e. effects with credible intervals not overlapping with a region of practical equivalence (ROPE; see Methods - Statistical Inference), are highlighted using a star. B) The amount of extracted ECG components per subject as a function of different ICA thresholds. On average, less than cardiac 2 components were extracted per subject irrespective of the used threshold. However, using high thresholds e.g. > 0.8 only allowed for the detection of cardiac components in less than 50% of the subjects.

SSS Maxfilter Analysis:

SSS Maxfilter Analysis: Steepening and flattening of the spectral slope with age is dependent on the sensor location and the investigated frequency range. Age was used to predict the spectral slope at rest in three different conditions (ECG components not rejected, ECG components rejected and ECG components only) per channel across a variety of frequency ranges (see Figure 1B). A) Standardized beta coefficients either per channel averaged across all frequency ranges (left) or per frequency range (right) averaged across all channels. Age-related B) steepening, C) flattening and D) null effects in the spectral slope were observed and visualized in a similar manner as in A). EF) We further show the direction of results where we didn’t find enough evidence to support either a steepening, flattening or null effect. G) Summary of all observed findings in %.

Head Movement, EOG control analysis:

Steepening and flattening of the spectral slope with age is dependent on the recording site and the investigated frequency range, when controlling for head movements. A) Head movement velocity was estimated using information obtained from the cHPI measurement. B) Spectral slopes were obtained also for horizontal and vertical EOG electrodes on the same frequency ranges as in Figure 4. Age was used to predict the spectral slope at rest in three different conditions (ECG components not rejected, ECG components rejected and ECG components only) per channel across a variety of frequency ranges. C) Standardized beta coefficients either per channel averaged across all frequency ranges (left) or per frequency range (right) averaged across all channels. Age-related D) steepening, E) flattening. Significant effects, i.e. effects with credible intervals not overlapping with a region of practical equivalence (ROPE; see Methods - Statistical Inference), are highlighted in red or blue (see colorbar). Null effects, which were defined as effects with credible intervals completely within a ROPE, are highlighted in green. Results where no decision to accept or reject (see40) an effect could be made, are masked using hatches.