OSCR

An Open Non-Invasive EEG Dataset for Spontaneous Auditory Attention Switch Decoding.

Code ↔ Paper

2 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

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 2 matches
  1. [1] § Technical Validation ↔ src/mamrdp/engine.py, lines 144 to 276 · score 0.82 · weight decay, Cross entropy, Adam, optimizer, fold, PyTorch · block oscr:b:VPXCVD3E5HM0N-G · Report a mismatch
  2. [2] § Technical Validation ↔ src/mamrdp/model.py, lines 42 to 107 · score 0.69 · layer normalization, attention heads, stacked, dropout, classification, block · block oscr:b:YMZRXV205KKVH-9 · 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

Python · 317 lines · 17 KB · no license · 1 match

  1. import csv
  2. import json
  3. import random
  4. import time
  5. from pathlib import Path
  6. import numpy as np
  7. import torch
  8. from torch.nn import functional as F
  9. from torch.utils.data import DataLoader
  10. from .config import save_json
  11. from .data import EEGWindows, fit_normalizer, split_trials
  12. from .metrics import (aggregate_events, bounded_recursive, classification_metrics,
  13. match_events, state_transitions, resolve_recursive_settings)
  14. from .model import MAMRDPNet, MemoryQueue, require_current_revision
  15. def seed_all(seed, threads=4):
  16. random.seed(seed)
  17. np.random.seed(seed)
  18. torch.manual_seed(seed)
  19. if torch.cuda.is_available():
  20. torch.cuda.manual_seed_all(seed)
  21. torch.set_num_threads(threads)
  22. torch.backends.cudnn.benchmark = False
  23. torch.backends.cudnn.deterministic = True
  24. def get_device(name):
  25. if name == "auto":
  26. name = "cuda" if torch.cuda.is_available() else "cpu"
  27. device = torch.device(name)
  28. if device.type not in ("cpu", "cuda"):
  29. raise ValueError("Supported devices: cpu, auto, cuda or cuda:<index>")
  30. if device.type == "cuda":
  31. if not torch.cuda.is_available():
  32. raise RuntimeError(
  33. "CUDA requested but unavailable. Check the NVIDIA driver and CUDA-enabled "
  34. "PyTorch installation with python check_gpu.py. For CPU use --device cpu explicitly.")
  35. index = device.index if device.index is not None else torch.cuda.current_device()
  36. if index >= torch.cuda.device_count():
  37. raise ValueError(f"CUDA index {index} unavailable; visible GPU count={torch.cuda.device_count()}")
  38. device = torch.device("cuda", index)
  39. torch.cuda.set_device(device)
  40. return device
  41. def device_info(device):
  42. result = {"device": str(device), "torch_version": str(torch.__version__),
  43. "torch_cuda_version": torch.version.cuda, "precision": "float32"}
  44. if device.type == "cuda":
  45. properties = torch.cuda.get_device_properties(device)
  46. result.update(gpu_name=properties.name, gpu_total_memory_gib=properties.total_memory / 2**30,
  47. cuda_visible_device_count=torch.cuda.device_count())
  48. return result
  49. def loader(dataset, cfg, device, shuffle=False, generator=None):
  50. return DataLoader(dataset, batch_size=cfg["training"]["batch_size"], shuffle=shuffle,
  51. num_workers=cfg["training"]["num_workers"],
  52. pin_memory=device.type == "cuda", generator=generator,
  53. persistent_workers=cfg["training"]["num_workers"] > 0,
  54. drop_last=False)
  55. def atomic_checkpoint(path, payload):
  56. path = Path(path)
  57. tmp = path.with_suffix(".tmp")
  58. torch.save(payload, tmp)
  59. tmp.replace(path)
  60. def load_checkpoint(path, device="cpu"):
  61. checkpoint = torch.load(path, map_location=device, weights_only=True)
  62. require_current_revision(checkpoint["config"]["model"])
  63. return checkpoint
  64. @torch.no_grad()
  65. def infer(model, dataset, cfg, device):
  66. model.eval()
  67. probabilities = np.zeros((len(dataset), 2), dtype=np.float32)
  68. truth = np.zeros(len(dataset), dtype=np.int64)
  69. ce_sum = 0.0
  70. for x, y, indices in loader(dataset, cfg, device):
  71. x, y = x.to(device, non_blocking=True), y.to(device, non_blocking=True)
  72. logits, _ = model(x)
  73. if not torch.isfinite(logits).all():
  74. raise FloatingPointError("Non-finite prediction")
  75. ce_sum += F.cross_entropy(logits, y, reduction="sum").item()
  76. probabilities[indices.numpy()] = logits.softmax(dim=-1).cpu().numpy()
  77. truth[indices.numpy()] = y.cpu().numpy()
  78. metrics = classification_metrics(truth, probabilities.argmax(axis=1))
  79. metrics["cross_entropy"] = ce_sum / len(dataset)
  80. return metrics, probabilities
  81. def export_evaluation(folder, dataset, probabilities, window_metrics, cfg):
  82. folder = Path(folder)
  83. folder.mkdir(parents=True, exist_ok=True)
  84. ec = resolve_recursive_settings(cfg["evaluation"], cfg["data"]["stride_s"])
  85. records = [dict(r) for r in dataset.records]
  86. groups = {}
  87. for index, rec in enumerate(records):
  88. groups.setdefault((rec["subject"], rec["trial_index"]), []).append(index)
  89. events = []
  90. for (sid, trial_index), indices in groups.items():
  91. trial = dataset.subjects[sid]["trials"][trial_index]
  92. p = probabilities[indices]
  93. states, gains = bounded_recursive(p, ec["recursive_n"], ec["recursive_bias"], ec["initial_gain"])
  94. times = [records[i][ec["event_time"] + "_s"] for i in indices]
  95. truth = list(zip(trial["state_times"][1:], trial["state_labels"][1:]))
  96. raw_switches = state_transitions(p.argmax(axis=1), times)
  97. filtered_switches = state_transitions(states, times)
  98. events.append({"subject": sid, "epoch": trial["epoch"], "trigger": trial["trigger"],
  99. "mix_file": trial["mix_file"], "true_switches": truth,
  100. "raw_switches": raw_switches, "recursive_switches": filtered_switches,
  101. "raw": match_events(truth, raw_switches, ec["match_tolerance_s"]),
  102. "recursive": match_events(truth, filtered_switches, ec["match_tolerance_s"])})
  103. for local, index in enumerate(indices):
  104. records[index].update(p_left=float(p[local, 0]), p_right=float(p[local, 1]),
  105. predicted_label=int(p[local].argmax()),
  106. recursive_label=int(states[local]),
  107. gain_left=float(gains[local, 0]), gain_right=float(gains[local, 1]))
  108. with (folder / "predictions.csv").open("w", newline="", encoding="utf-8-sig") as handle:
  109. writer = csv.DictWriter(handle, fieldnames=list(records[0]))
  110. writer.writeheader()
  111. writer.writerows(records)
  112. output = {"window": window_metrics,
  113. "raw_events": aggregate_events([v["raw"] for v in events]),
  114. "recursive_events": aggregate_events([v["recursive"] for v in events]),
  115. "evaluation_settings": ec,
  116. "label_map": {"0": "left (179)", "1": "right (184)"}}
  117. save_json(folder / "events.json", events)
  118. save_json(folder / "metrics.json", output)
  119. return output
  120. def dataset_from_keys(subjects, keys, normalizer, cfg):
  121. return EEGWindows(subjects, keys, normalizer, cfg["data"]["window_s"], cfg["data"]["stride_s"])
  122. def train_fold(cfg, subjects, protocol, heldout, run_name, resume=None):
  123. tc = cfg["training"]
  124. seed_all(tc["seed"] + heldout, tc["cpu_threads"])
  125. device = get_device(tc["device"])
  126. folder = Path(cfg["paths"]["output_root"]) / run_name / protocol / f"S{heldout:02d}"
  127. folder.mkdir(parents=True, exist_ok=True)
  128. if (folder / "last.pt").exists() and resume is None:
  129. raise FileExistsError(f"Run exists: {folder}. Use --resume or a different --run-name.")
  130. runtime = device_info(device)
  131. save_json(folder / "device.json", runtime)
  132. if device.type == "cuda":
  133. torch.cuda.reset_peak_memory_stats(device)
  134. print(f"GPU: {runtime['gpu_name']} ({device}), "
  135. f"{runtime['gpu_total_memory_gib']:.1f} GiB, float32", flush=True)
  136. split = split_trials(subjects, protocol, heldout, tc["seed"], tc["validation_fraction_loso"])
  137. normalizer = fit_normalizer(subjects, split["train"])
  138. channels = len(normalizer["mean"])
  139. datasets = {k: dataset_from_keys(subjects, v, normalizer, cfg) for k, v in split.items()}
  140. model = MAMRDPNet(channels, cfg["data"]["target_sample_rate"], cfg["model"]).to(device)
  141. queue = MemoryQueue(tc["queue_size"], cfg["model"]["feature_dim"], tc["temperature"]).to(device)
  142. optimizer = torch.optim.Adam(model.parameters(), lr=tc["learning_rate"], weight_decay=tc["weight_decay"])
  143. generator = torch.Generator().manual_seed(tc["seed"] + heldout)
  144. history, start_epoch, best_ce = [], 0, float("inf")
  145. fingerprints = {str(s): v["signature"] for s, v in subjects.items()}
  146. if resume:
  147. old = load_checkpoint(resume)
  148. if old["protocol"] != protocol or old["heldout"] != heldout:
  149. raise ValueError("Resume checkpoint protocol/heldout does not match this fold")
  150. if old["split"] != split or old["fingerprints"] != fingerprints:
  151. raise ValueError("Data/split changed since checkpoint; start a new run")
  152. for part in ("data", "model", "evaluation"):
  153. if old["config"][part] != cfg[part]:
  154. raise ValueError(f"Resume configuration changed: {part}")
  155. ignored = {"epochs", "device", "num_workers", "cpu_threads"}
  156. if any(old["config"]["training"][k] != v for k, v in tc.items() if k not in ignored):
  157. raise ValueError("Training settings changed; only epochs/device/workers/threads may change on resume")
  158. if Path(resume).resolve().parent != folder.resolve():
  159. raise ValueError("Resume in the original run directory (same --run-name/output-root)")
  160. model.load_state_dict(old["model"])
  161. queue.load_state_dict(old["queue"])
  162. optimizer.load_state_dict(old["optimizer"])
  163. for state in optimizer.state.values():
  164. for key, val in state.items():
  165. if isinstance(val, torch.Tensor) and key != "step":
  166. state[key] = val.to(device)
  167. history, start_epoch, best_ce = old["history"], old["epoch"], old["best_val_ce"]
  168. torch.set_rng_state(old["torch_rng"])
  169. if device.type == "cuda" and old["cuda_rng"]:
  170. torch.cuda.set_rng_state_all(old["cuda_rng"])
  171. generator.set_state(old["loader_rng"])
  172. save_json(folder / "config.json", cfg)
  173. split_report = {name: [{"subject": s, "trial_index": i,
  174. "trigger": subjects[s]["trials"][i]["trigger"]} for s, i in keys]
  175. for name, keys in split.items()}
  176. save_json(folder / "split.json", split_report)
  177. audio_sets = {name: {subjects[s]["trials"][i]["mix_file"] for s, i in keys}
  178. for name, keys in split.items()}
  179. save_json(folder / "data_audit.json", {
  180. "subjects": {str(s): v["audit"] for s, v in subjects.items()},
  181. "shared_audio_between_splits": {
  182. a + "_" + b: sorted(audio_sets[a] & audio_sets[b])
  183. for a, b in (("train", "val"), ("train", "test"), ("val", "test"))},
  184. "split_unit": "EEG trial (subject, epoch); not audio identity"})
  185. np.savez(folder / "normalizer.npz", **normalizer)
  186. train_loader = loader(datasets["train"], cfg, device, shuffle=True, generator=generator)
  187. print(f"{protocol} S{heldout}: {channels} channels, device={device}, "
  188. f"windows=" + str({k: len(v) for k, v in datasets.items()}), flush=True)
  189. for epoch in range(start_epoch, tc["epochs"]):
  190. model.train()
  191. sums = np.zeros(4, dtype=float)
  192. correct, seen = 0, 0
  193. grad_norm_sum, clipped_batches, batches = 0.0, 0, 0
  194. started = time.perf_counter()
  195. for x, y, _ in train_loader:
  196. x, y = x.to(device, non_blocking=True), y.to(device, non_blocking=True)
  197. optimizer.zero_grad(set_to_none=True)
  198. logits, z = model(x)
  199. ce = F.cross_entropy(logits, y)
  200. contrast = queue.loss(z, y)
  201. regularization = model.frequency_regularization()
  202. loss = ce + tc["contrastive_weight"] * contrast + tc["frequency_weight"] * regularization
  203. if not torch.isfinite(loss):
  204. raise FloatingPointError(f"Non-finite loss at epoch {epoch + 1}")
  205. loss.backward()
  206. grad_norm = torch.nn.utils.clip_grad_norm_(model.parameters(), tc["gradient_clip"], error_if_nonfinite=True)
  207. grad_norm_sum += float(grad_norm.item())
  208. clipped_batches += int(grad_norm.item() > tc["gradient_clip"])
  209. batches += 1
  210. optimizer.step()
  211. queue.enqueue(z, y)
  212. n = len(y)
  213. sums += np.array([loss.item(), ce.item(), contrast.item(), regularization.item()]) * n
  214. correct += int((logits.argmax(dim=1) == y).sum().item())
  215. seen += n
  216. val_metrics, _ = infer(model, datasets["val"], cfg, device)
  217. entry = {"epoch": epoch + 1, "train_loss": float(sums[0] / seen),
  218. "train_ce": float(sums[1] / seen), "train_contrastive": float(sums[2] / seen),
  219. "train_frequency_regularization": float(sums[3] / seen),
  220. "train_gradient_norm_mean": grad_norm_sum / batches,
  221. "train_gradient_clip_fraction": clipped_batches / batches,
  222. "train_accuracy": correct / seen, "val_ce": val_metrics["cross_entropy"],
  223. "val_accuracy": val_metrics["accuracy"], "val_f1_macro": val_metrics["f1_macro"],
  224. "seconds": time.perf_counter() - started}
  225. if device.type == "cuda":
  226. entry["cuda_peak_allocated_mib"] = torch.cuda.max_memory_allocated(device) / 2**20
  227. history.append(entry)
  228. improved = entry["val_ce"] < best_ce
  229. if improved:
  230. best_ce = entry["val_ce"]
  231. payload = {"format_version": 2, "model": model.state_dict(), "queue": queue.state_dict(),
  232. "optimizer": optimizer.state_dict(), "epoch": epoch + 1,
  233. "best_val_ce": best_ce, "config": cfg, "protocol": protocol, "heldout": heldout,
  234. "channels": channels, "split": split, "fingerprints": fingerprints,
  235. "normalizer": {k: torch.from_numpy(v) for k, v in normalizer.items()},
  236. "history": history, "torch_rng": torch.get_rng_state(),
  237. "cuda_rng": torch.cuda.get_rng_state_all() if device.type == "cuda" else [],
  238. "loader_rng": generator.get_state()}
  239. if improved:
  240. atomic_checkpoint(folder / "best.pt", payload)
  241. atomic_checkpoint(folder / "last.pt", payload)
  242. save_json(folder / "history.json", history)
  243. print(f"Epoch {epoch + 1:03d}/{tc['epochs']}: loss={entry['train_loss']:.4f}, "
  244. f"train_ACC={entry['train_accuracy']:.3f}, val_ACC={entry['val_accuracy']:.3f}, "
  245. f"val_CE={entry['val_ce']:.4f}, {entry['seconds']:.1f}s", flush=True)
  246. best = load_checkpoint(folder / "best.pt")
  247. model.load_state_dict(best["model"])
  248. test_metrics, probabilities = infer(model, datasets["test"], cfg, device)
  249. result = export_evaluation(folder / "test", datasets["test"], probabilities, test_metrics, cfg)
  250. result.update(subject=heldout, best_epoch=best["epoch"], checkpoint=str(folder / "best.pt"))
  251. save_json(folder / "result.json", result)
  252. print(f"TEST S{heldout}: ACC={test_metrics['accuracy']:.4f}, "
  253. f"F1(right)={test_metrics['f1_right']:.4f}, F1(macro)={test_metrics['f1_macro']:.4f}", flush=True)
  254. return result
  255. def test_checkpoint(path, cfg, subjects, output, new_subjects=False):
  256. checkpoint = load_checkpoint(path)
  257. if checkpoint["config"]["data"] != cfg["data"] or checkpoint["config"]["model"] != cfg["model"]:
  258. raise ValueError("Test must use the checkpoint's preprocessing/window/model settings")
  259. seed_all(cfg["training"]["seed"], cfg["training"]["cpu_threads"])
  260. device = get_device(cfg["training"]["device"])
  261. save_json(Path(output) / "device.json", device_info(device))
  262. if new_subjects:
  263. keys = [(s, i) for s, sub in subjects.items() for i in range(len(sub["trials"]))]
  264. else:
  265. keys = checkpoint["split"]["test"]
  266. for sid in {s for s, _ in keys}:
  267. if subjects[sid]["signature"] != checkpoint["fingerprints"][str(sid)]:
  268. raise ValueError(f"S{sid}: source data changed since training")
  269. normalizer = {k: v.numpy() for k, v in checkpoint["normalizer"].items()}
  270. if any(v["shape"][1] != checkpoint["channels"] for v in subjects.values()):
  271. raise ValueError("Checkpoint and input data have different channel counts")
  272. dataset = dataset_from_keys(subjects, keys, normalizer, cfg)
  273. model = MAMRDPNet(checkpoint["channels"], cfg["data"]["target_sample_rate"], cfg["model"]).to(device)
  274. model.load_state_dict(checkpoint["model"])
  275. metrics, probabilities = infer(model, dataset, cfg, device)
  276. return export_evaluation(output, dataset, probabilities, metrics, cfg)
  277. def summarize(results, destination):
  278. rows = [{"subject": r["subject"], "accuracy": r["window"]["accuracy"],
  279. "f1_right": r["window"]["f1_right"], "f1_macro": r["window"]["f1_macro"],
  280. "sdl_s": r["recursive_events"]["sdl_s"],
  281. "fp_per_trial": r["recursive_events"]["false_positive_per_trial"],
  282. "false_negative_rate": r["recursive_events"]["false_negative_rate"]} for r in results]
  283. stats = {}
  284. for name in rows[0]:
  285. if name == "subject":
  286. continue
  287. values = [r[name] for r in rows if r[name] is not None]
  288. stats[name] = {"mean": float(np.mean(values)) if values else None,
  289. "sd": float(np.std(values, ddof=1)) if len(values) > 1 else None,
  290. "n_subjects": len(values)}
  291. save_json(destination, {"per_subject": rows, "subject_mean_sd": stats})

engine.py at commit a2799e7, no license · at the source

Overview

Authors: Xuefei Wang1, Yuting Ding1, Yueting Ban1, Lei Wang2, Fei Chen1
  1. Department of Electronic and Electrical Engineering, Southern University of Science and Technology, Shenzhen, Guangdong 518055 P. R. China
  2. School of Electronics and Communication Engineering, Guangzhou University, Guangzhou, Guangdong 510000 P. R. China
Journal: Scientific data, volume 13, issue 1, article 883
Dates: received 24 October 2025; accepted 13 April 2026; published online 16 April 2026
Type: Data paper · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41597-026-07244-w · PMID 41991955 · PMCID PMC13261058 · OpenAlex W7154577762
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: EEG (modality), human (organism), methods / tools (subfield)
Methods: Spectral & time-frequency, Connectivity, Preprocessing, Physiology & signal measures
MeSH: Attention*, Auditory Perception*, Brain-Computer Interfaces*, Electroencephalography*, Algorithms, Humans (* major topic)
Topic: EEG and Brain-Computer Interfaces (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: the National Key Research and Development Program of China (No. 2023YFF1203502); the Center for Computational Science and Engineering at Southern University of Science and Technology
Citations: cited by 2 papers (Europe PMC); 42 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repository

Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.

XXuefeii/AASD-Processing

License: none: the authors keep all their rights
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: a2799e7beb933e9414142f1b660838a5204ee0d7, 22 September 2026
Languages: Python (8), MATLAB (1)
Size: 12 files, 9 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, environment (src/mamrdp/requirements.txt)
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: NumPy (4 files), PyTorch (4 files), SciPy (2 files), EEGLAB (1 file), h5py (1 file), pandas (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
10 files

Code availability statement

The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41597-026-07244-w.

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;
  • 9 scripts, each with its path and the digest of its content;
  • 2 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

Data availability statement

The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41597-026-07244-w.

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, 29 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 6 MeSH terms, 2 funders, 29 references.

Cite

This paper

Wang, X., Ding, Y., Ban, Y., Wang, L., & Chen, F. (2026). An Open Non-Invasive EEG Dataset for Spontaneous Auditory Attention Switch Decoding. Scientific data, 13(1), 883. https://doi.org/10.1038/s41597-026-07244-w

BibTeX

@article{wang2026open,
author = {Wang, Xuefei and Ding, Yuting and Ban, Yueting and Wang, Lei and Chen, Fei},
title = {{An Open Non-Invasive EEG Dataset for Spontaneous Auditory Attention Switch Decoding}},
journal = {Scientific data},
year = {2026},
month = apr,
volume = {13},
number = {1},
pages = {883},
publisher = {Nature Publishing Group},
issn = {2052-4463},
doi = {10.1038/s41597-026-07244-w},
url = {https://doi.org/10.1038/s41597-026-07244-w},
pmid = {41991955},
pmcid = {PMC13261058}
}

RIS

TY - JOUR
AU - Wang, Xuefei
AU - Ding, Yuting
AU - Ban, Yueting
AU - Wang, Lei
AU - Chen, Fei
TI - An Open Non-Invasive EEG Dataset for Spontaneous Auditory Attention Switch Decoding
T2 - Scientific data
J2 - Sci Data
PY - 2026
DA - 2026/04/16
VL - 13
IS - 1
SP - 883
SN - 2052-4463
PB - Nature Publishing Group
DO - 10.1038/s41597-026-07244-w
UR - https://doi.org/10.1038/s41597-026-07244-w
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41597-026-07244-w",
"type": "article-journal",
"title": "An Open Non-Invasive EEG Dataset for Spontaneous Auditory Attention Switch Decoding",
"container-title": "Scientific data",
"author": [
{
"family": "Wang",
"given": "Xuefei"
},
{
"family": "Ding",
"given": "Yuting"
},
{
"family": "Ban",
"given": "Yueting"
},
{
"family": "Wang",
"given": "Lei"
},
{
"family": "Chen",
"given": "Fei"
}
],
"container-title-short": "Sci Data",
"volume": "13",
"issue": "1",
"page": "883",
"DOI": "10.1038/s41597-026-07244-w",
"PMID": "41991955",
"PMCID": "PMC13261058",
"ISSN": "2052-4463",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41597-026-07244-w",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
16
]
]
}
}

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.1162/imag_a_00148 [code]
Improving auditory attention decoding by classifying intracranial responses to glimpsed and masked acoustic events.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: EEG, 8 references
[2] doi:10.1177/23312165261442999
Linking Attentional Modulation to Auditory Attention Decoding: Using Colocated Stimuli With a Fixed Temporal Structure.
Journal: Trends in hearing
In common: EEG, 7 references
[3] doi:10.1371/journal.pbio.3002128 [code]
Distinct neural encoding of glimpsed and masked speech in multitalker situations.
Journal: PLoS biology
In common: EEGLAB, h5py, pandas, 2 other tools, 3 references
[4] doi:10.1038/s41597-024-04102-5 [code]
A finer-grained high altitude EEG dataset for hypoxia levels assessment.
Journal: Scientific data
In common: EEGLAB, h5py, pandas, 2 other tools, methods / tools, EEG, 1 reference
[5] doi:10.1111/ejn.70538 [code]
Neural Tracking of Sustained Attention, Attention Switching, and Natural Conversation in Audiovisual Environments Using Wearable EEG.
Journal: The European journal of neuroscience
In common: pandas, SciPy, NumPy, EEG, 3 references
[6] doi:10.1371/journal.pbio.3003876 [code]
Competing speech streams are simultaneously represented in the human cortex during attention switching.
Journal: PLoS biology
In common: EEG, 6 references
[7] doi:10.7554/elife.103235
Selective attention and sensitivity to auditory disturbances in a virtually real classroom.
Journal: eLife
In common: EEG, 5 references
[8] doi:10.1111/ejn.70285 [code]
Neural Coding of Fundamental Frequency and Processing of Discrete Pitch Accents in Middle Age.
Journal: The European journal of neuroscience
In common: PyTorch, pandas, SciPy, 1 other tool, 4 references
[9] doi:10.7554/elife.100056 [code]
Multi-talker speech comprehension at different temporal scales in listeners with normal and impaired hearing.
Journal: eLife
In common: PyTorch, pandas, SciPy, 1 other tool, EEG, 3 references
[10] doi:10.1523/jneurosci.0657-25.2025 [code]
Attentional Engagement with Target and Distractor Streams Predicts Speech Comprehension in Multitalker Environments.
Journal: The Journal of neuroscience : the official journal of the Society for Neuroscience
In common: PyTorch, pandas, SciPy, 1 other tool, 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s41597-026-07244-w.svg)](https://openscicode.org/badge/doi/10.1038/s41597-026-07244-w)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41597-026-07244-w.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41597-026-07244-w
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41597-026-07244-w"><img src="https://openscicode.org/badge/doi/10.1038/s41597-026-07244-w.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".

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.