At-Home Sleep Electroencephalography Assessment in Young and Older Adults Using a Novel Wireless Soft Electronics Sleep Monitoring System: Experimental Study.
One block of code here has 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 5 matches
- [1] § Methods › Sleep Macrostructure and Microstructure Analysis › Sleep Microarchitecture Analysis ↔ SleepPatch_EEG_OSF_v1.0/04_analysis_code.zip/04_analysis_code/relative_bandpower_osf.ipynb, lines 27 to 81 · score 0.87 · relative delta power, 0.5–45 Hz, bandpass filtered, Beta, Theta, bands · Report a mismatch
- [2] § Methods › Sleep Macrostructure and Microstructure Analysis › Sleep Microarchitecture Analysis ↔ SleepPatch_EEG_OSF_v1.0/04_analysis_code.zip/04_analysis_code/slow_wave_absolutethreshold_osf.ipynb, lines 27 to 146 · score 0.82 · 0.5–1.5 Hz, 0.5–2 seconds, N3 sleep stages, zero, amplitude, root · Report a mismatch
- [3] § Methods › Sleep Macrostructure and Microstructure Analysis › Automated Sleep Stage Scoring ↔ SleepPatch_EEG_OSF_v1.0/04_analysis_code.zip/04_analysis_code/artifact_rejection_osf.ipynb, lines 27 to 112 · score 0.66 · artifact cleaned EEG, artifact detection, threshold, windows, channel, scored · Report a mismatch
- [4] § Methods › Initial Assessment of Data Quality ↔ SleepPatch_EEG_OSF_v1.0/04_analysis_code.zip/04_analysis_code/multitaper_spectrogram.m, lines 1 to 141 · score 0.56 · multitaper spectrograms, Prerau, nose, power, 0.3 Hz, sleep · block
oscr:b:AXKXMSZ9M4KSV-R· Report a mismatch - [5] § Methods › Sleep Macrostructure and Microstructure Analysis › Automated Sleep Stage Scoring ↔ SleepPatch_EEG_OSF_v1.0/04_analysis_code.zip/04_analysis_code/slow_waves_zscore75thpercentile_osf.ipynb, lines 27 to 164 · score 0.53 · bandpass filtered, Sleep stage, threshold, detection, REM, epochs · 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
Jupyter notebook · 82 lines · 3.1 KB · no license · 1 match
- # %%
- from pathlib import Path
- # === USER SETTINGS (edit these) ===
- PROJECT_ROOT = Path('.') # set to the OSF dataset root (this notebook assumes it is run from that root)
- EDF_DIR = PROJECT_ROOT / '02_clean_edf'
- OUT_DIR = PROJECT_ROOT / 'outputs'
- OUT_DIR.mkdir(parents=True, exist_ok=True)
- subject_id = 'sub_###'
- session_id = 'ses-##'
- # Inputs
- edf_path = EDF_DIR / f"{subject_id}_{session_id}_clean.edf"
- # Outputs / intermediates
- stage_csv_path = OUT_DIR / f"{subject_id}_{session_id}_sleepstage_yasa.csv"
- combined_csv_path = PROJECT_ROOT / 'PATH_TO_COMBINED_EEG_CSV.csv' # used in CSV-based preprocessing notebooks
- artifact_clean_csv_path = OUT_DIR / f"{subject_id}_{session_id}_artifact_clean.csv"
- # %%
- # NOTE: If needed, install dependencies:
- # !pip install --upgrade yasa mne numpy pandas matplotlib
- # %%
- import mne
- import yasa
- import numpy as np
- import pandas as pd
- # Load EEG data from the EDF file
- raw = mne.io.read_raw_edf(str(PROJECT_ROOT / 'PATH_HERE'), preload=True, verbose=0)
- raw.pick('eeg') # Correct way to select EEG channels using the new API
- raw.filter(0.5, 45) # Bandpass filter from 0.5 to 45 Hz
- sf = raw.info['sfreq'] # Sampling frequency
- # Load staged data (hypnogram) from CSV file
- hypno_df = pd.read_csv(stage_csv_path) # Load with headers
- # Ensure the hypnogram has a 'Sleep Stage' column, otherwise raise an error
- if 'Sleep Stage' not in hypno_df.columns:
- raise KeyError("The 'Sleep Stage' column is missing from the hypnogram CSV file.")
- hypno = hypno_df['Sleep Stage'].values # Extract the 'Sleep Stage' column
- # Map the hypnogram string labels to integer values
- stage_mapping = {'W': 0, 'N1': 1, 'N2': 2, 'N3': 3, 'R': 4}
- hypno = np.array([stage_mapping[stage] for stage in hypno]) # Map string stages to integers
- # Upsample the hypnogram to match the data's sampling frequency if needed
- hypno_up = yasa.hypno_upsample_to_data(hypno=hypno, sf_hypno=(1/30), data=raw.get_data(), sf_data=sf)
- # Define masks for the N2 and N3 stages
- mask_N2 = hypno_up == 2
- mask_N3 = hypno_up == 3
- # Apply the mask to the data and restrict the data to N2 and N3 segments
- raw_N2 = raw.copy().crop(tmin=np.where(mask_N2)[0][0] / sf, tmax=np.where(mask_N2)[0][-1] / sf)
- raw_N3 = raw.copy().crop(tmin=np.where(mask_N3)[0][0] / sf, tmax=np.where(mask_N3)[0][-1] / sf)
- # Calculate relative bandpower for multiple bands, focusing on Delta, Theta, Alpha, Beta bands
- bands = [(0.5, 4, 'Delta'), (4, 8, 'Theta'), (8, 12, 'Alpha'), (12, 30, 'Beta')]
- bp_N2 = yasa.bandpower(raw_N2, sf=sf, ch_names=raw.ch_names, bands=bands, relative=True)
- bp_N3 = yasa.bandpower(raw_N3, sf=sf, ch_names=raw.ch_names, bands=bands, relative=True)
- # Display the relative bandpower for N2 and N3 stages separately for each channel
- print("Relative Bandpower for N2 Stage (by channel):")
- print(bp_N2)
- print("\nRelative Bandpower for N3 Stage (by channel):")
- print(bp_N3)
- # Calculate average relative delta power across channels for N2 and N3 stages
- avg_delta_N2 = bp_N2['Delta'].mean()
- avg_delta_N3 = bp_N3['Delta'].mean()
- print("\nAverage Relative Delta Bandpower for N2 Stage (across channels):", avg_delta_N2)
- print("Average Relative Delta Bandpower for N3 Stage (across channels):", avg_delta_N3)
relative_bandpower_osf.ipynb, no license · at the source
Overview
- George W. Woodruff School of Mechanical Engineering, Wearable Intelligent Systems and Healthcare Center (WISH Center), Georgia Institute of Technology, Atlanta, GA, United States
- Department of Psychology, The University of Texas at Austin, 108 East Dean Keeton Street NW, Austin, TX, 78712, United States, 1 5122324643
- Department of Neurology, Emory Sleep Center, Emory University, Atlanta, GA, United States
Abstract
Background: Sleep quality declines with age and is a known contributor to multiple chronic health conditions, including Alzheimer disease. Emerging evidence suggests that certain electroencephalography (EEG) neural signatures measured during sleep may be predictive of cognitive decline in older adults. Sleep EEG signals are traditionally measured using bulky, rigid, and uncomfortable equipment in an unfamiliar laboratory setting, which can negatively impact sleep signals. Due to these limitations, sleep EEG data acquisition is typically limited to a single night.
Objective: This study aimed to validate our recently developed portable, skin-like EEG monitoring patch for 7 nights in the home environment in a pilot sample of young and older adults by evaluating usability and acceptance, and replicating age-related differences in sleep architecture observed in the polysomnography literature.
Methods: Eighteen young adults and 18 cognitively unimpaired older adults without sleep disorders were enrolled (data from 11 young adults and 12 older adults were included in the analyses) in a 7-night study during which they wore novel, gel-free, wireless, ultrathin, skin-conforming, sleep monitoring, fabric-based patches. These patches were self-applied to the forehead and face for optimal usability and comfort. The patches incorporate laser-cut mesh electrodes with low-profile electronics (including a rechargeable battery and amplifier) and transmit EEG signals to a participant-controlled, Bluetooth-enabled, tablet-based data acquisition app. An automated algorithm was used to stage sleep and assess microarchitecture features from the EEG commonly impacted for each participant. Averages across nights were computed for these sleep features for each participant.
Results: Young and older adults reported that the sleep patch was easy to use and comfortable to wear. There was no loss of signal power over 7 nights of wear across participants (retained-data signal-to-noise ratio over the 7-d period: young adult, mean 20.69, SD 12.78, maximum 52.13, minimum 5.19; older adult, mean 22.10, SD 9.39, maximum 49.96, minimum 13.79). Most datasets not retained were lost due to poor reference electrode adhesion on the nose (75/
Conclusions: This study demonstrates that our novel, comfortable, wearable patch can reliably measure physiological sleep data over multiple nights at home in adults across the lifespan, thereby making multinight sleep assessment in cognitive aging studies and clinical research more accessible than traditional polysomnography. In future studies, the small, lightweight system, which is highly scalable, can be shipped inexpensively to participants’ homes, making this technology and research accessible to individuals who may have difficulty traveling or who are hesitant to travel to a laboratory or clinic.
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 5 matches between paragraphs and lines of code.
OSF gjcyu
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
20 files
- SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 13 lines04_analysis_code/ FFT.m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 32 lines04_analysis_code/ Interprolated_channel.m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , Jupyter, 259 lines04_analysis_code/ Yasa_sleep_staging_final _osf.ipynb - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , Jupyter, 122 lines, 1 match04_analysis_code/ artifact_rejection_osf.i pynb - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 7 lines04_analysis_code/ calculateDeltaPower.m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 107 lines04_analysis_code/ clean.m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 19 lines04_analysis_code/ cronbach_alpha.m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 15 lines04_analysis_code/ cronbach_snr.m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 77 lines04_analysis_code/ finalspectrogram.m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 275 lines, 1 match04_analysis_code/ multitaper_spectrogram.m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 24 lines04_analysis_code/ preprocessHypnogram.m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 455 lines04_analysis_code/ preprocessing_combine.m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , Jupyter, 82 lines, 1 match04_analysis_code/ relative_bandpower_osf.i pynb - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 185 lines04_analysis_code/ remove_nulls.m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 94 lines04_analysis_code/ sleep.m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , MATLAB, 110 lines04_analysis_code/ sleepSNRcalculation_osf. m - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , Jupyter, 147 lines, 1 match04_analysis_code/ slow_wave_absolutethresh old_osf.ipynb - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , Jupyter, 165 lines, 1 match04_analysis_code/ slow_waves_zscore75thper centile_osf.ipynb - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , Jupyter, 166 lines04_analysis_code/ slowwave_detection_relat ivethreshold_osf.ipynb - SleepPatch_EEG_OSF_v1.0/
04_analysis_code.zip/ , Jupyter, 151 lines04_analysis_code/ spindle_N2N3_osf.ipynb
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;
- 20 scripts, each with its path and the digest of its content;
- 5 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
No dataset and no data link were found in the paper.
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, pages, dates, 13 authors, 7 keywords, 11 MeSH terms, 1 funder, 39 references.
Cite
This paper
Kim, H., Saha, S., Wachnin, A., Ban, S., Lee, Y. J., Kwon, Y., Lee, J., Chhabra, I., Ram, S., Nyan, C., Trotti, L. M., Yeo, W.-H., & Duarte, A. (2026). At-Home Sleep Electroencephalography Assessment in Young and Older Adults Using a Novel Wireless Soft Electronics Sleep Monitoring System: Experimental Study. JMIR formative research, 10, e80286. https://
BibTeX
@article{kim2026home,
author = {Kim, Hyeonseok and Saha, Simran and Wachnin, Aiden and Ban, Seunghyeb and Lee, Yoon Jae and Kwon, Youngjin and Lee, Jaeho and Chhabra, Isha and Ram, Sahana and Nyan, Chuu and Trotti, Lynn Marie and Yeo, Woon-Hong and Duarte, Audrey},
title = {{At-Home Sleep Electroencephalography Assessment in Young and Older Adults Using a Novel Wireless Soft Electronics Sleep Monitoring System: Experimental Study}},
journal = {JMIR formative research},
year = {2026},
month = may,
volume = {10},
pages = {e80286},
publisher = {JMIR Publications Inc.},
issn = {2561-326X},
doi = {10.2196/
url = {https://
pmid = {42081802},
pmcid = {PMC13150960}
}
RIS
TY - JOUR
AU - Kim, Hyeonseok
AU - Saha, Simran
AU - Wachnin, Aiden
AU - Ban, Seunghyeb
AU - Lee, Yoon Jae
AU - Kwon, Youngjin
AU - Lee, Jaeho
AU - Chhabra, Isha
AU - Ram, Sahana
AU - Nyan, Chuu
AU - Trotti, Lynn Marie
AU - Yeo, Woon-Hong
AU - Duarte, Audrey
TI - At-Home Sleep Electroencephalography Assessment in Young and Older Adults Using a Novel Wireless Soft Electronics Sleep Monitoring System: Experimental Study
T2 - JMIR formative research
J2 - JMIR Form Res
PY - 2026
DA - 2026/
VL - 10
SP - e80286
SN - 2561-326X
PB - JMIR Publications Inc.
DO - 10.2196/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.2196/
"type": "article-journal",
"title": "At-Home Sleep Electroencephalography Assessment in Young and Older Adults Using a Novel Wireless Soft Electronics Sleep Monitoring System: Experimental Study",
"container-title": "JMIR formative research",
"author": [
{
"family": "Kim",
"given": "Hyeonseok"
},
{
"family": "Saha",
"given": "Simran"
},
{
"family": "Wachnin",
"given": "Aiden"
},
{
"family": "Ban",
"given": "Seunghyeb"
},
{
"family": "Lee",
"given": "Yoon Jae"
},
{
"family": "Kwon",
"given": "Youngjin"
},
{
"family": "Lee",
"given": "Jaeho"
},
{
"family": "Chhabra",
"given": "Isha"
},
{
"family": "Ram",
"given": "Sahana"
},
{
"family": "Nyan",
"given": "Chuu"
},
{
"family": "Trotti",
"given": "Lynn Marie"
},
{
"family": "Yeo",
"given": "Woon-Hong"
},
{
"family": "Duarte",
"given": "Audrey"
}
],
"container-title-short":
"volume": "10",
"page": "e80286",
"DOI": "10.2196/
"PMID": "42081802",
"PMCID": "PMC13150960",
"ISSN": "2561-326X",
"publisher": "JMIR Publications Inc.",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
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.1038/s41467-024-51300-1
- All-in-one wearable drug efficacy assessment systems for bulbar muscle function using amyotrophic lateral sclerosis animal models.Journal: Nature communicationsIn common: other, 3 authors
- [2] doi:10.1038/s41526-021-00177-1 [code]
- Altered sleep spindles and slow waves during space shuttle missions.Journal: NPJ microgravityIn common: YASA, MNE-Python, seaborn, 4 other tools, EEG, 4 references
- [3] doi:10.1371/journal.pone.0306157 [code]
- Frontal cortex hyperactivation and gamma desynchrony in Fragile X syndrome: Correlates of auditory hypersensitivity.Journal: PloS oneIn common: YASA, EEGLAB, MNE-Python, 8 other tools, EEG
- [4] doi:10.1523/eneuro.0317-23.2024 [code]
- Transient Seizure Clusters and Epileptiform Activity Following Widespread Bilateral Hippocampal Interneuron Ablation.Journal: eNeuroIn common: YASA, EEGLAB, MNE-Python, 8 other tools, EEG
- [5] doi:10.1016/j.patter.2025.101367 [code]
- AISleep: Automated and interpretable sleep staging from single-channel EEG data.Journal: Patterns (New York, N.Y.)In common: YASA, MNE-Python, pandas, 3 other tools, EEG, 4 references
- [6] doi:10.1038/s42003-022-03395-9 [code]
- Neocortical localization and thalamocortical modulation of neuronal hyperexcitability contribute to Fragile X Syndrome.Journal: Communications biologyIn common: YASA, EEGLAB, MNE-Python, 8 other tools
- [7] doi:10.1088/1741-2552/ad4916 [code]
- PyHFO: lightweight deep learning-powered end-to-end high-frequency oscillations analysis application.Journal: Journal of neural engineeringIn common: YASA, MNE-Python, Signal Processing Toolbox, 6 other tools, methods / tools, EEG, 1 reference
- [8] doi:10.1038/s41467-024-53477-x [code]
- The human claustrum tracks slow waves during sleep.Journal: Nature communicationsIn common: YASA, MNE-Python, Signal Processing Toolbox, 6 other tools, EEG, 1 reference
- [9] doi:10.3390/s24030842 [code]
- Two-Stage Atomic Decomposition of Multichannel EEG and the Previously Undetectable Sleep Spindles.Journal: Sensors (Basel, Switzerland)In common: YASA, MNE-Python, Signal Processing Toolbox, 5 other tools, methods / tools, EEG, 1 reference
- [10] doi:10.1093/sleep/zsaf164 [code]
- The Hypno-PC: uncovering sleep dynamics through principal component analysis and hidden Markov modeling of electrophysiological signals.Journal: SleepIn common: YASA, MNE-Python, seaborn, 4 other tools, other, methods / tools, EEG, 1 reference
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, 20 scripts, and 5 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:7b47759e7ece3c29…
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.2196/80286)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.2196/80286.svg
:target: https://openscicode.org/badge/doi/10.2196/80286
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.2196/80286"><img src="https://openscicode.org/badge/doi/10.2196/80286.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->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)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
