Golden ratio organization in human EEG is associated with theta-alpha frequency convergence: a multi-dataset validation study.
The 11 matches
- [1] § Methods › Spectral analysis ↔ analysis/compute_pci.py, lines 164–216 · score 0.93 · Power spectral density, frontal channels, posterior channels, frontal theta validation, posterior alpha, Spectral centroids
- [2] § Methods › Aperiodic sensitivity analysis ↔ analysis/config.py, lines 40–47 · score 0.78 · peak width limits, aperiodic mode, peak height, FOOOF
- [3] § Methods › Datasets ↔ analysis/analyze_combined.py, lines 1–16 · score 0.74 · LEMON Mind Brain, PhysioNet, Body, EEGBCI, Cross
- [4] § Methods › Spectral analysis ↔ analysis/spectral_centroids.py, lines 27–67 · score 0.67 · Power spectral density, Spectral centroids, Hann, windows, overlap, Welch
- [5] § Methods › Datasets ↔ analysis/config.py, lines 60–66 · score 0.66 · closed baseline, PhysioNet, 160 Hz, eyes
- [6] § Methods › Phi coupling index ↔ analysis/compute_pci.py, lines 105–137 · score 0.64 · f_alpha, f_theta, Phi Coupling, harmonic, centroids, closer
- [7] § Methods › Validation procedures ↔ analysis/compute_pci.py, lines 164–216 · score 0.63 · Frontal theta validation, posterior channels, posterior alpha, PCI
- [8] § Methods › Theta-alpha convergence ↔ analysis/compute_pci.py, lines 140–161 · score 0.59 · Theta alpha convergence, f_alpha, f_theta, metric
- [9] § Methods › Pre processing ↔ analysis/preprocessing.py, lines 90–131 · score 0.59 · MNE, segmented, rejected, thresholds, exceeding, epochs
- [10] § Methods › Aperiodic sensitivity analysis ↔ analysis/spectral_centroids.py, lines 114–166 · score 0.58 · 1–40 Hz, spectral centroids, FOOOF, peak, power
- [11] § Methods › Pre processing ↔ analysis/config.py, lines 25–31 · score 0.58 · 1–45 Hz, bandpass, rejected, thresholds, epochs, preprocessed
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 263 lines · 7 KB · MIT · 4 matches
- """
- compute_pci.py - Core functions for Phi Coupling Index analysis
- Golden Ratio Organization in Human EEG
- Author: Andrei Condrea
- ORCID: 0009-0002-6114-5011
- """
- import numpy as np
- from scipy import signal
- # Constants
- PHI = 1.618034 # Golden ratio
- EPSILON = 0.1 # Regularization parameter
- THETA_BAND = (4, 8)
- ALPHA_BAND = (8, 13)
- def compute_psd_welch(data, sfreq, fmin=1, fmax=45):
- """
- Compute Power Spectral Density using Welch's method.
- Parameters
- ----------
- data : array
- EEG time series (samples,)
- sfreq : float
- Sampling frequency in Hz
- fmin, fmax : float
- Frequency range of interest
- Returns
- -------
- freqs : array
- Frequency values
- psd : array
- Power spectral density values
- """
- nperseg = min(int(4 * sfreq), len(data)) # 4-second windows
- freqs, psd = signal.welch(data, sfreq, nperseg=nperseg, noverlap=nperseg//2)
- mask = (freqs >= fmin) & (freqs <= fmax)
- return freqs[mask], psd[mask]
- def compute_spectral_centroid(psd, freqs, fmin, fmax):
- """
- Compute spectral centroid (center of mass) within frequency band.
- Parameters
- ----------
- psd : array
- Power spectral density
- freqs : array
- Corresponding frequencies
- fmin, fmax : float
- Band limits in Hz
- Returns
- -------
- float
- Centroid frequency in Hz
- """
- mask = (freqs >= fmin) & (freqs <= fmax)
- freqs_band = freqs[mask]
- psd_band = psd[mask]
- if psd_band.sum() == 0:
- return np.nan
- return np.sum(freqs_band * psd_band) / np.sum(psd_band)
- def compute_peak_frequency(psd, freqs, fmin, fmax):
- """
- Find peak frequency within frequency band.
- Parameters
- ----------
- psd : array
- Power spectral density
- freqs : array
- Corresponding frequencies
- fmin, fmax : float
- Band limits in Hz
- Returns
- -------
- float
- Peak frequency in Hz
- """
- from scipy.ndimage import uniform_filter1d
- mask = (freqs >= fmin) & (freqs <= fmax)
- freqs_band = freqs[mask]
- psd_band = psd[mask]
- if len(psd_band) == 0:
- return np.nan
- # Smooth to avoid noise peaks
- psd_smooth = uniform_filter1d(psd_band, size=3)
- return freqs_band[np.argmax(psd_smooth)]
- def compute_pci(f_alpha, f_theta, epsilon=EPSILON):
- """
- Compute Phi Coupling Index.
- PCI = log((|R - 2| + ε) / (|R - φ| + ε))
- Where R = f_alpha / f_theta
- Parameters
- ----------
- f_alpha : float
- Alpha frequency (centroid or peak) in Hz
- f_theta : float
- Theta frequency (centroid or peak) in Hz
- epsilon : float
- Regularization parameter (default: 0.1)
- Returns
- -------
- float
- PCI value
- - PCI > 0: closer to φ (1.618) than to 2:1
- - PCI < 0: closer to 2:1 than to φ
- """
- if np.isnan(f_alpha) or np.isnan(f_theta) or f_theta == 0:
- return np.nan
- ratio = f_alpha / f_theta
- distance_to_harmonic = np.abs(ratio - 2.0)
- distance_to_phi = np.abs(ratio - PHI)
- return np.log((distance_to_harmonic + epsilon) / (distance_to_phi + epsilon))
- def compute_convergence(f_alpha, f_theta):
- """
- Compute theta-alpha convergence metric.
- Convergence = 1 / |f_alpha - f_theta|
- Parameters
- ----------
- f_alpha : float
- Alpha frequency in Hz
- f_theta : float
- Theta frequency in Hz
- Returns
- -------
- float
- Convergence value (higher = frequencies closer together)
- """
- diff = np.abs(f_alpha - f_theta)
- if diff == 0:
- return np.nan
- return 1 / diff
- def analyze_subject(data, sfreq, posterior_channels=None, frontal_channels=None):
- """
- Complete analysis pipeline for a single subject.
- Parameters
- ----------
- data : array
- EEG data (channels x samples)
- sfreq : float
- Sampling frequency
- posterior_channels : list
- Indices of posterior channels for averaging
- frontal_channels : list, optional
- Indices of frontal channels for theta validation
- Returns
- -------
- dict
- Dictionary with all computed metrics
- """
- results = {}
- # Average posterior channels
- if posterior_channels is not None:
- posterior_data = data[posterior_channels].mean(axis=0)
- else:
- posterior_data = data.mean(axis=0)
- # Compute PSD
- freqs, psd = compute_psd_welch(posterior_data, sfreq)
- # Compute spectral metrics
- results['theta_centroid'] = compute_spectral_centroid(psd, freqs, *THETA_BAND)
- results['alpha_centroid'] = compute_spectral_centroid(psd, freqs, *ALPHA_BAND)
- results['theta_peak'] = compute_peak_frequency(psd, freqs, *THETA_BAND)
- results['alpha_peak'] = compute_peak_frequency(psd, freqs, *ALPHA_BAND)
- # Compute derived metrics
- results['ratio'] = results['alpha_centroid'] / results['theta_centroid']
- results['PCI'] = compute_pci(results['alpha_centroid'], results['theta_centroid'])
- results['convergence'] = compute_convergence(results['alpha_centroid'], results['theta_centroid'])
- # Frontal theta analysis (if channels provided)
- if frontal_channels is not None and len(frontal_channels) >= 2:
- frontal_data = data[frontal_channels].mean(axis=0)
- freqs_f, psd_f = compute_psd_welch(frontal_data, sfreq)
- results['theta_frontal'] = compute_spectral_centroid(psd_f, freqs_f, *THETA_BAND)
- # Frontal-based PCI (frontal theta, posterior alpha)
- results['PCI_frontal'] = compute_pci(results['alpha_centroid'], results['theta_frontal'])
- results['convergence_frontal'] = compute_convergence(results['alpha_centroid'], results['theta_frontal'])
- return results
- def epsilon_sensitivity(f_alpha, f_theta, epsilons=None):
- """
- Test PCI stability across epsilon values.
- Parameters
- ----------
- f_alpha : float
- Alpha frequency
- f_theta : float
- Theta frequency
- epsilons : list, optional
- Epsilon values to test (default: [0.001, 0.01, 0.1, 0.5, 1.0])
- Returns
- -------
- dict
- Epsilon -> PCI mapping
- """
- if epsilons is None:
- epsilons = [0.001, 0.01, 0.1, 0.5, 1.0]
- return {eps: compute_pci(f_alpha, f_theta, epsilon=eps) for eps in epsilons}
- if __name__ == "__main__":
- # Example usage
- print("Phi Coupling Index Analysis")
- print("="*50)
- print(f"Golden ratio (φ): {PHI}")
- print(f"Theta band: {THETA_BAND} Hz")
- print(f"Alpha band: {ALPHA_BAND} Hz")
- print()
- # Example calculation
- f_theta = 6.0 # Hz
- f_alpha = 10.0 # Hz
- ratio = f_alpha / f_theta
- pci = compute_pci(f_alpha, f_theta)
- conv = compute_convergence(f_alpha, f_theta)
- print(f"Example: θ={f_theta} Hz, α={f_alpha} Hz")
- print(f" Ratio: {ratio:.3f}")
- print(f" PCI: {pci:.3f} ({'φ-organized' if pci > 0 else '2:1 organized'})")
- print(f" Convergence: {conv:.3f}")
compute_pci.py at commit c64a0da, under MIT · at the source
Overview
- Independent Researcher, Bucharest, Romania
Abstract
Background: The golden ratio (ϕ ≈ 1. 618) has been proposed as an organizing principle for EEG frequency bands, potentially minimizing spurious cross-frequency synchronization. However, whether individual differences in ϕ-organization have functional correlates remains unexplored.
Objective: We investigated whether proximity of theta-alpha frequency ratios to ϕ is associated with theta-alpha frequency convergence near the 8 Hz boundary.
Methods: We developed the Phi Coupling Index (PCI), which quantifies spectral frequency ratio proximity (note: “coupling” here refers to frequency ratio relationships, not phase-amplitude coupling), quantifying proximity to ϕ vs. harmonic 2:1 organization. Spectral centroids were computed from eyes-closed resting-state EEG across two independent datasets (N = 320): PhysioNet EEGBCI (N = 109) and LEMON Mind-Brain-Body (N = 211). We performed comprehensive validation including: (1) null model simulation, (2) per-dataset replication, (3) robust statistics, (4) ϕ-specificity parameter sweep, (5) epsilon sensitivity analysis, and (6) frontal theta validation.
Results: Across 320 subjects, 80.0% showed ϕ-organization (PCI > 0). PCI was strongly associated with theta-alpha convergence [r = 0.54, p < 10−25; Spearman ρ = 0.82 (higher rank correlation reflects monotonic association with bounded transform)]. This effect: (1) exceeded null model expectation by >5 SD; (2) replicated across both datasets (r = 0.50-0.63); (3) was robust to outliers; (4) showed ϕ-specificity in parameter sweep; (5) remained qualitatively consistent across epsilon values (r = 0.41-0.78); and (6) critically, frontal theta analysis yielded even stronger effects (r = 0.718, p ≈ 10−35), providing evidence against volume conduction artifacts. Demographic controls in LEMON (partial correlation controlling for age) yielded r = 0.490, virtually identical to uncorrected r = 0.497, indicating age does not substantially confound the effect. However, pre-planned exploratory subgroup analyses revealed meaningful individual differences: the association was stronger in younger adults (age < 40: r = 0.574, N = 142) than older adults (r = 0.344, N = 69; note: reduced statistical power in older subgroup), and notably stronger in females (r = 0.680, N = 77) than males (r = 0.429, N = 134), consistent with known sex differences in alpha oscillation characteristics. High-ϕ subjects (PCI > median) showed frequency profiles converging toward the 8 Hz boundary (θ = 6.24 Hz, α = 9.75 Hz) compared to low-ϕ subjects (θ = 5.85 Hz, α = 10.20 Hz), with no age confound (mean ages 37.7 vs. 35.7 years).
Conclusions: PCI demonstrates a robust association with theta-alpha convergence that exceeds structural expectations, replicates across datasets, and shows specificity to the golden ratio. The striking frontal theta validation (r = 0.718) provides converging evidence against a simple spatial-mixing explanation and is consistent with neurophysiological organization.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 11 matches between paragraphs and lines of code.
ExeqTer91/eeg-phi-coupling
c64a0da59953b63403e57a74d6addc02f447ab12, 19 February 2026Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
9 files
- analysis/
analyze_combined.py , Python, 182 lines, 1 match - analysis/
compute_pci.py , Python, 263 lines, 4 matches - analysis/
config.py , Python, 72 lines, 3 matches - analysis/
pci_analysis.py , Python, 286 lines - analysis/
preprocessing.py , Python, 216 lines, 1 match - analysis/
spectral_centroids.py , Python, 266 lines, 2 matches - analysis/
visualization.py , Python, 230 lines - LICENSE, License, 21 lines
- README.md, Text, 99 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 7 scripts, each with its path and the digest of its content;
- 11 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- physionet.org/
content/ , at PhysioNet; found in “Data availability statement”eegmmidb
Data availability statement
Publicly available datasets were analyzed in this study. PhysioNet EEGBCI: https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 30 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 1 author, 7 keywords, 28 references.
Cite
This paper
Ursachi, A. (2026). Golden ratio organization in human EEG is associated with theta-alpha frequency convergence: a multi-dataset validation study. Frontiers in human neuroscience, 20, 1781338. https://
BibTeX
@article{ursachi2026gold
author = {Ursachi, Andrei},
title = {{Golden ratio organization in human EEG is associated with theta-alpha frequency convergence: a multi-dataset validation study}},
journal = {Frontiers in human neuroscience},
year = {2026},
month = mar,
volume = {20},
pages = {1781338},
publisher = {Frontiers Media SA},
issn = {1662-5161},
doi = {10.3389/
url = {https://
pmid = {41859481},
pmcid = {PMC12996120}
}
RIS
TY - JOUR
AU - Ursachi, Andrei
TI - Golden ratio organization in human EEG is associated with theta-alpha frequency convergence: a multi-dataset validation study
T2 - Frontiers in human neuroscience
J2 - Front Hum Neurosci
PY - 2026
DA - 2026/
VL - 20
SP - 1781338
SN - 1662-5161
PB - Frontiers Media SA
DO - 10.3389/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3389/
"type": "article-journal",
"title": "Golden ratio organization in human EEG is associated with theta-alpha frequency convergence: a multi-dataset validation study",
"container-title": "Frontiers in human neuroscience",
"author": [
{
"family": "Ursachi",
"given": "Andrei"
}
],
"container-title-short":
"volume": "20",
"page": "1781338",
"DOI": "10.3389/
"PMID": "41859481",
"PMCID": "PMC12996120",
"ISSN": "1662-5161",
"publisher": "Frontiers Media SA",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
4
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.3389/fncom.2026.1786996 [code]
- Schumann-anchored golden ratio organization of human neural oscillations.Journal: Frontiers in computational neuroscienceIn common: specparam (formerly FOOOF), MNE-Python, seaborn, 4 other tools, EEG, 8 references
- [2] doi:10.1038/s41467-026-70287-5 [code]
- Cortical-limbic circuit dynamics of approach-avoidance conflict in humans.Journal: Nature communicationsIn common: specparam (formerly FOOOF), MNE-Python, seaborn, 4 other tools, EEG, 4 references
- [3] doi:10.3390/s26134019 [code]
- NeuroStat: An Open-Source EEG Connectivity Platform for Randomised Controlled Trials.Journal: Sensors (Basel, Switzerland)In common: MNE-Python, pandas, SciPy, 2 other tools, physionet.org/content/eegmmidb, EEG, 3 references
- [4] doi:10.1093/cercor/bhag113 [code]
- Long-term reliability and stability of parameterized resting state EEG: evidence from a five-year follow-up.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: specparam (formerly FOOOF), MNE-Python, seaborn, 4 other tools, methods / tools, EEG, 3 references
- [5] doi:10.1162/imag.a.1169 [code]
- Diazepam alters the shape of alpha oscillations recorded from human cortex using EEG.Journal: Imaging neuroscience (Cambridge, Mass.)In common: specparam (formerly FOOOF), MNE-Python, seaborn, 4 other tools, EEG, 3 references
- [6] doi:10.7554/elife.100605 [code]
- Age-related changes in ‘cortical’ 1/
f dynamics are linked to cardiac activity Journal: n/aIn common: specparam (formerly FOOOF), MNE-Python, seaborn, 4 other tools, 3 references - [7] doi:10.1371/journal.pone.0353371 [code]
- Inter-brain functional connectivity: Are we measuring the right thing?Journal: PloS oneIn common: specparam (formerly FOOOF), MNE-Python, seaborn, 3 other tools, EEG, 3 references
- [8] doi:10.1162/imag.a.1321 [code]
- Phase similarity between similar objects indicates representational merging across retrieval training but not sleep.Journal: Imaging neuroscience (Cambridge, Mass.)In common: MNE-Python, seaborn, pandas, 3 other tools, EEG, 3 references
- [9] doi:10.64898/2026.03.06.710026 [code]
- Distinct beta burst motifs exhibit opposing error relationships during motor adaptationJournal: bioRxiv (preprint)In common: specparam (formerly FOOOF), MNE-Python, seaborn, 4 other tools, 2 references
- [10] doi:10.1093/bioinformatics/btag169 [code]
- Bidirectional Mamba-2 boosts EEG super-resolution via regression and diffusion.Journal: Bioinformatics (Oxford, England)In common: MNE-Python, pandas, SciPy, 2 other tools, physionet.org/content/eegmmidb, methods / tools, EEG
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 7 scripts, and 11 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:c13445a02d2f722c…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
