Opposing cortical forces: Alpha slowing and sensorimotor mu acceleration during motor-related BCI training.
2 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 3 matches · all tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
- [1] § Materials and methods › Tracking alpha/mu dynamics ↔ EKFOT.m, the whole file · a weak match · score 0.68 · initial damping, process noise, measurement noise, covariance, optimized, oscillator · block
oscr:b:J6AB2KKYA85M2-S· Report a mismatch - [2] § Materials and methods › Extended Kalman filter based oscillator tracking ↔ EKFOT.m, the whole file · a weak match · score 0.65 · measurement noise covariances, Jacobians, damped, linearize, prediction, optimized · block
oscr:b:J6AB2KKYA85M2-S· Report a mismatch - [3] § Materials and methods › Extended Kalman filter based oscillator tracking ↔ SIM_EKFOT.m, the whole file · a weak match · score 0.54 · measurement noise covariances, linearize, uncertainty, prediction, trajectories, oscillator · block
oscr:b:TMCJ2Q0M6H3HK-T· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 85 lines · 2.4 KB · MIT · 2 matches
- function [J, Up] = EKFOT(X, Y, ignore, Fs)
- %EKFOT EKF oscillator tracking cost for GA optimization.
- %
- % [J, Up] = EKFOT(X, Y, ignore, Fs)
- %
- % Inputs
- % X : parameter vector [R2_ct, Q_ct, omega0, alpha0, P0scale]
- % R2_ct : continuous-time measurement noise intensity
- % Q_ct : continuous-time process noise intensity (scalar, shared)
- % omega0 : initial angular frequency [rad/s]
- % alpha0 : initial damping [1/s]
- % P0scale: scale factor for initial covariance
- % Y : signal (1 x N) or (N x 1)
- % ignore : number of initial samples to ignore in cost
- % Fs : sampling rate [Hz]
- %
- % Method
- % AR(2) resonator with time-varying omega, alpha estimated by EKF:
- % a1 = 2*exp(-alpha*Ts)*cos(omega*Ts)
- % a2 = -exp(-2*alpha*Ts)
- % State z = [x(k); x(k-1); omega; alpha]
- % y(k) = x(k) + v(k)
- %
- % Cost
- % J = ||innovation(ignore:end)|| / ||Y(ignore:end)||
- % --- Continuous -> discrete scaling ---
- Ts = 1/Fs;
- R2_ct = X(1);
- Q_ct = X(2);
- R2 = R2_ct * Ts; % measurement noise variance per sample
- R1 = Q_ct * Ts * eye(4); % process noise covariance per sample
- omega = X(3); % [rad/s] (despite old comment "rad/sample")
- alpha = X(4); % [1/s]
- pin = X(end); % P0 scale
- % --- Init ---
- z = [0; 0; omega; alpha]; % [x(k); x(k-1); omega; alpha]
- P = pin * eye(4);
- H = [1 0 0 0];
- N = numel(Y);
- Y = double(Y(:)'); % ensure row
- e = zeros(1, N);
- for k = 3:N
- % --- Predict ---
- a11 = 2*exp(-z(4)*Ts)*cos(z(3)*Ts);
- a12 = -exp(-2*z(4)*Ts);
- A2 = [a11, a12; 1, 0];
- x_pred = A2 * z(1:2);
- z_pred = [x_pred; z(3); z(4)];
- % --- Linearize (Jacobian) ---
- F = eye(4);
- F(1:2,1:2) = A2;
- F(1,3) = -2*exp(-z(4)*Ts)*sin(z(3)*Ts)*Ts * z(1);
- F(1,4) = -2*Ts*exp(-z(4)*Ts)*cos(z(3)*Ts)*z(1) ...
- + 2*Ts*exp(-2*z(4)*Ts)*z(2);
- P_pred = F*P*F' + R1;
- % --- Update ---
- y_pred = H * z_pred;
- inov = Y(k) - y_pred;
- S = H*P_pred*H' + R2; % scalar
- K = (P_pred*H') / S; % 4x1
- z = z_pred + K*inov;
- P = (eye(4)-K*H)*P_pred;
- % --- Wrap omega (discrete-time angle wrapping) ---
- z(3) = wrapToPiLocal(z(3)*Ts)/Ts;
- e(k) = inov;
- end
- Up = e(ignore:end);
- J = norm(Up) / norm(Y(ignore:end));
- end
EKFOT.m at commit e37663f, under MIT · at the source
Overview
- Institute of Neural Engineering, Graz University of Technology, Graz, Austria
- BioTechMed, Graz, Austria
Abstract
Brain-computer interfaces (BCIs) depend on the reliable decoding of brain activity, yet key rhythms like alpha and mu are not spectrally static and can shift with cognitive and motor demands. Here, we investigated within-session changes in instantaneous alpha/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 3 matches between paragraphs and lines of code.
kyriakikostoglou/EKF-Oscillator-Tracking
f6af8352d39a6ad99d40618acfcff9fc37a6a295, 1 April 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
8 files
- EKFOT.m, MATLAB, 85 lines
- GA_EKFOT.m, MATLAB, 20 lines
- SIM_EKFOT.m, MATLAB, 78 lines
- optimize_EKFOT.m, MATLAB, 38 lines
- run_EKFOT.m, MATLAB, 49 lines
- wrapToPiLocal.m, MATLAB, 4 lines
- LICENSE, License, 21 lines
- README.md, Text, 329 lines
graz-bci/EKF-Oscillator-Tracking
e37663f3bc5bc04c754dab0747afceb8a7d326c8, 1 April 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
8 files
- EKFOT.m, MATLAB, 85 lines, 2 matches
- GA_EKFOT.m, MATLAB, 20 lines
- SIM_EKFOT.m, MATLAB, 78 lines, 1 match
- optimize_EKFOT.m, MATLAB, 38 lines
- run_EKFOT.m, MATLAB, 49 lines
- wrapToPiLocal.m, MATLAB, 4 lines
- LICENSE, License, 21 lines
- README.md, Text, 329 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:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 12 scripts, each with its path and the digest of its content;
- 3 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
- bnci-horizon-2020.eu/
database/ , at bnci-horizon-2020.eu; found in “Data Availability”data-sets - doi:10.13026/
c28g6p , at the source; found in the resources table - physionet.org/
content/ , at PhysioNet; found in “Data Availability”eegmmidb - zenodo:8089820, at Zenodo; found in “Data Availability”
Data Availability
All datasets used in this study are publicly available. The Schalk2004 dataset is available from PhysioNet (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, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 7 MeSH terms, 62 references.
Cite
This paper
Kostoglou, K., & Müller-Putz, G. R. (2026). Opposing cortical forces: Alpha slowing and sensorimotor mu acceleration during motor-related BCI training. PLoS computational biology, 22(4), e1014112. https://
BibTeX
@article{kostoglou2026op
author = {Kostoglou, Kyriaki and Müller-Putz, Gernot R},
title = {{Opposing cortical forces: Alpha slowing and sensorimotor mu acceleration during motor-related BCI training}},
journal = {PLoS computational biology},
year = {2026},
month = apr,
volume = {22},
number = {4},
pages = {e1014112},
publisher = {PLOS},
issn = {1553-734X},
doi = {10.1371/
url = {https://
pmid = {41920806},
pmcid = {PMC13065009}
}
RIS
TY - JOUR
AU - Kostoglou, Kyriaki
AU - Müller-Putz, Gernot R
TI - Opposing cortical forces: Alpha slowing and sensorimotor mu acceleration during motor-related BCI training
T2 - PLoS computational biology
J2 - PLoS Comput Biol
PY - 2026
DA - 2026/
VL - 22
IS - 4
SP - e1014112
SN - 1553-734X
PB - PLOS
DO - 10.1371/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1371/
"type": "article-journal",
"title": "Opposing cortical forces: Alpha slowing and sensorimotor mu acceleration during motor-related BCI training",
"container-title": "PLoS computational biology",
"author": [
{
"family": "Kostoglou",
"given": "Kyriaki"
},
{
"family": "Müller-Putz",
"given": "Gernot R"
}
],
"container-title-short":
"volume": "22",
"issue": "4",
"page": "e1014112",
"DOI": "10.1371/
"PMID": "41920806",
"PMCID": "PMC13065009",
"ISSN": "1553-734X",
"publisher": "PLOS",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
1
]
]
}
}
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/fnhum.2022.915815
- Using linear parameter varying autoregressive models to measure cross frequency couplings in EEG signals.Journal: Frontiers in human neuroscienceIn common: bnci-horizon-2020.eu/database/data-sets, EEG, 2 references, author Kyriaki Kostoglou
- [2] doi:10.1523/eneuro.0159-22.2022 [code]
- Visual Working Memory Recruits Two Functionally Distinct Alpha Rhythms in Posterior Cortex.Journal: eNeuroIn common: EEG, 10 references
- [3] doi:10.1038/s41597-023-02445-z [code]
- A large EEG database with users' profile information for motor imagery brain-computer interface research.Journal: Scientific dataIn common: Zenodo 8089820, EEG, 5 references
- [4] doi:10.3390/brainsci16080873
- Evaluating Validation Strategies in Motor Imagery EEG: A Full-Cohort GAF-PLV Analysis and Matched Sensitivity Study.Journal: Brain sciencesIn common: DOI 10.13026/c28g6p, physionet.org/content/eegmmidb, EEG, 2 references
- [5] doi:10.3389/fpsyg.2025.1598196 [code]
- Investigating mu and alpha oscillations as indicators of intra-individual success and inter-individual ability in motor imagery performance.Journal: Frontiers in psychologyIn common: Optimization Toolbox, EEG, 7 references
- [6] doi:10.1007/s12021-025-09733-6 [code]
- Estimation of Task-Related Dynamic Brain Connectivity via Data Inflation and Classification Model Explainability.Journal: NeuroinformaticsIn common: DOI 10.13026/c28g6p, physionet.org/content/eegmmidb, EEG, 1 reference
- [7] doi:10.3390/s25113389
- Gate Control Mechanisms of Autoencoders for EEG Signal Reconstruction.Journal: Sensors (Basel, Switzerland)In common: DOI 10.13026/c28g6p, physionet.org/content/eegmmidb, EEG, 1 reference
- [8] doi:10.1155/2021/1160454 [code]
- CNN-Based Personal Identification System Using Resting State Electroencephalography.Journal: Computational intelligence and neuroscienceIn common: DOI 10.13026/c28g6p, physionet.org/content/eegmmidb, EEG, 1 reference
- [9] doi:10.1038/s41598-023-45374-y [code]
- Videoconference fatigue from a neurophysiological perspective: experimental evidence based on electroencephalography (EEG) and electrocardiography (ECG).Journal: Scientific reportsIn common: EEG, 2 references, author Kyriaki Kostoglou
- [10] doi:10.3389/fncom.2022.882290
- Deep Residual Convolutional Neural Networks for Brain-Computer Interface to Visualize Neural Processing of Hand Movements in the Human Brain.Journal: Frontiers in computational neuroscienceIn common: DOI 10.13026/c28g6p, systems, EEG, 3 references
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: 2 repositories of the authors' code, each at its verified commit and with its license, 12 scripts, and 3 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:883cdea68998b39b…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1371/journal.pcbi.1014112)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1371/journal.pcbi.1014112.svg
:target: https://openscicode.org/badge/doi/10.1371/journal.pcbi.1014112
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1371/journal.pcbi.1014112"><img src="https://openscicode.org/badge/doi/10.1371/journal.pcbi.1014112.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
- kyriakikostoglou/EKF-Oscillator-Tracking: README.md on GitHub
- graz-bci/EKF-Oscillator-Tracking: README.md on GitHub
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
