{"dataset":{"id":"61108","dataset_id":"on005555","name":"The Bitbrain Open Access Sleep (BOAS) dataset","description":"The Bitbrain Open Access Sleep (BOAS) dataset comprises 128 nights of simultaneous polysomnography (PSG) and wearable EEG headband recordings from 108 unique participants, designed to validate wearable EEG technology against clinical PSG for sleep monitoring. The dataset includes human-consensus sleep stage labels derived from expert scoring of PSG recordings, as well as AI-generated sleep stage labels for both PSG and wearable EEG data using a deep learning model. Additional demographic metadata (age, sex, BMI) are provided for each participant, offering a comprehensive resource for sleep staging research and wearable EEG validation.","owner_user_id":15,"status":"active","github_repo":"nemarDatasets/on005555","concept_doi":"10.82901/nemar.on005555","latest_version_doi":"10.82901/nemar.on005555.v1.0.0","created_at":"2026-06-27 10:01:00","updated_at":"2026-08-19 01:29:48","zenodo_concept_id":null,"is_sandbox":0,"visibility":"public","ezid_status":"public","enrichment_json":"{\n  \"version\": \"2.0\",\n  \"pipeline_stage\": \"validated\",\n  \"title\": \"The Bitbrain Open Access Sleep (BOAS) dataset\",\n  \"description\": \"The Bitbrain Open Access Sleep (BOAS) dataset comprises 128 nights of simultaneous polysomnography (PSG) and wearable EEG headband recordings from 108 unique participants, designed to validate wearable EEG technology against clinical PSG for sleep monitoring. The dataset includes human-consensus sleep stage labels derived from expert scoring of PSG recordings, as well as AI-generated sleep stage labels for both PSG and wearable EEG data using a deep learning model. Additional demographic metadata (age, sex, BMI) are provided for each participant, offering a comprehensive resource for sleep staging research and wearable EEG validation.\",\n  \"methods_description\": \"PSG recordings were obtained using a Brain Quick Plus Evolution system by Micromed, capturing EEG, EOG, EMG, respiratory, and PPG signals, while simultaneous wearable EEG recordings were collected using a Bitbrain forehead headband with EEG, IMU, and PPG sensors. Sleep stages were manually scored by three independent expert scorers following AASM criteria, with consensus labels derived from majority agreement (a fourth scorer resolved ties). A deep learning model was trained on the human-consensus labels to generate automatic sleep stage predictions for both PSG and wearable EEG data.\",\n  \"license\": \"CC0\",\n  \"dataset_type\": \"raw\",\n  \"authors\": {\n    \"Eduardo López-Larraz\": {\n      \"orcid\": \"0000-0001-5482-1347\"\n    },\n    \"María Sierra-Torralba\": {},\n    \"Sergio Clemente\": {},\n    \"Galit Fierro\": {},\n    \"David Oriol\": {},\n    \"Javier Minguez\": {},\n    \"Luis Montesano\": {\n      \"orcid\": \"0000-0003-1183-349X\"\n    },\n    \"Jens G. Klinzing\": {}\n  },\n  \"keywords\": [\n    {\n      \"term\": \"EEG\"\n    },\n    {\n      \"term\": \"Polysomnography\",\n      \"subject_scheme\": \"MeSH\",\n      \"value_uri\": \"http://id.nlm.nih.gov/mesh/D017286\"\n    },\n    {\n      \"term\": \"Sleep Stages\",\n      \"subject_scheme\": \"MeSH\",\n      \"value_uri\": \"http://id.nlm.nih.gov/mesh/D012894\"\n    },\n    {\n      \"term\": \"wearable EEG\"\n    },\n    {\n      \"term\": \"sleep staging\"\n    },\n    {\n      \"term\": \"deep learning\"\n    },\n    {\n      \"term\": \"BIDS\"\n    }\n  ],\n  \"related_identifiers\": [\n    {\n      \"identifier\": \"https://github.com/nemarDatasets/on005555\",\n      \"identifier_type\": \"URL\",\n      \"relation_type\": \"IsDescribedBy\"\n    },\n    {\n      \"identifier\": \"https://nemar.org/dataset/on005555\",\n      \"identifier_type\": \"URL\",\n      \"relation_type\": \"IsDescribedBy\"\n    },\n    {\n      \"identifier\": \"10.1111/j.1365-2869.2008.00700.x\",\n      \"identifier_type\": \"DOI\",\n      \"relation_type\": \"References\"\n    },\n    {\n      \"identifier\": \"10.5664/jcsm.2350\",\n      \"identifier_type\": \"DOI\",\n      \"relation_type\": \"References\"\n    },\n    {\n      \"identifier\": \"10.1101/2024.06.12.597764\",\n      \"identifier_type\": \"DOI\",\n      \"relation_type\": \"References\"\n    },\n    {\n      \"identifier\": \"10.18112/openneuro.ds005555.v1.1.1\",\n      \"identifier_type\": \"DOI\",\n      \"relation_type\": \"IsDerivedFrom\"\n    }\n  ],\n  \"funding_references\": [\n    {\n      \"funder_name\": \"Programa Misiones de I+D en Inteligencia Artificial\",\n      \"award_number\": \"MIA.2021.M02.0007\",\n      \"award_title\": \"AI4HEALTHYAGING\"\n    },\n    {\n      \"funder_name\": \"Penta call 5 – Joint call – Euripides\",\n      \"award_number\": \"IDI-20210522\",\n      \"award_title\": \"pAvIs\"\n    },\n    {\n      \"funder_name\": \"H2020 FET-Open\",\n      \"award_number\": \"964677\",\n      \"award_title\": \"MITICS\"\n    },\n    {\n      \"funder_name\": \"Horizon-EIC-2022\",\n      \"award_number\": \"101099555\",\n      \"award_title\": \"BAYFLEX\"\n    },\n    {\n      \"funder_name\": \"Horizon-RIA-2023\",\n      \"award_number\": \"101135782\",\n      \"award_title\": \"MANOLO\"\n    },\n    {\n      \"funder_name\": \"Programa Aragon Investigo\",\n      \"award_number\": \"Z-0073-INVESCS-22\"\n    },\n    {\n      \"funder_name\": \"Government of Aragon\",\n      \"award_number\": \"IDMF/2023/0007\"\n    },\n    {\n      \"funder_name\": \"Programa red.es\",\n      \"award_number\": \"2021/C005/00143341\"\n    }\n  ],\n  \"resource_type_general\": \"Dataset\",\n  \"resource_type_specific\": \"EEG Dataset\",\n  \"modalities\": [\n    \"eeg\"\n  ],\n  \"sizes\": [\n    \"35.9 GB (257 files)\"\n  ],\n  \"formats\": [\n    \".edf\",\n    \".json\",\n    \".md\",\n    \".tsv\",\n    \".yml\"\n  ],\n  \"source_hash\": \"43f43087216f8b3422221652520d28862ffe47c58589c23c99d358f5d1ded2fa\"\n}","last_activity_at":"2026-06-27 10:01:00","source":"openneuro","source_id":"ds005555","subject_count":128,"modalities":"eeg","age_min":18,"age_max":82,"file_size":35921415237,"total_files":1419,"tasks":"Sleep","metadata_columns_error":null,"staleness_warn_stage":null,"staleness_admin_notified_at":null,"authors":"Eduardo López-Larraz, María Sierra-Torralba, Sergio Clemente, Galit Fierro, David Oriol, Javier Minguez, Luis Montesano, Jens G. Klinzing","license":"CC0","readme":"[![DOI](https://img.shields.io/badge/DOI-10.82901%2Fnemar.on005555-blue)](https://doi.org/10.82901/nemar.on005555)\n\n# README\n\nThe **Bitbrain Open Access Sleep (BOAS)** dataset.\n\n## Overview\n\nThis project aimed at bridging the gap between gold-standard clinical sleep monitoring and emerging wearable EEG technologies. The dataset contains data from **128 nights** in which participants were simultaneously monitored with two technologies: a **Brain Quick Plus Evolution PSG system by Micromed** and a **wearable EEG headband by Bitbrain**. The Micromed PSG system records a comprehensive and clinically validated set of physiological sleep parameters, while the Bitbrain wearable EEG headband offers a user-friendly, self-administered alternative, limited to forehead EEG electrodes, movement sensors, and photo-plethysmography. **Data from both systems were acquired simultaneously**, allowing for direct comparison and validation of the wearable EEG device against the established PSG standard. This dual-recording approach provides a rich resource for evaluating the performance and potential of wearable EEG technology in sleep studies.\n\n**Human sleep scoring:** To ensure robust and reliable sleep staging, we followed a rigorous labeling process. **Three expert sleep scorers independently annotated the PSG recordings** following criteria developed by the American Academy of Sleep Medicine (AASM) (Berry et al., 2015). From the resulting three scorings, a **consensus label** was derived: each epoch of sleep data received the label scored by at least two of the scorers. In cases where all three scorers had given different labels, a fourth scorer made the final decision. This consensus labeling approach addresses the inherent variability in human-derived sleep scoring, with an estimated inter-scorer agreement of approximately 85% (Danker-Hopfe et al., 2009; Rosenberg and Van Hout, 2013).\n\n**Automatic scoring:** We used the human expert consensus labels to train a deep learning model (Esparza-Iaizzo et al., 2024). By implementing a cross-validation procedure, we trained and validated the model separately on the PSG and wearable EEG datasets. The model achieved an 87.13% match between human-consensus and network-provided labels for the PSG data, and an 86.71% match for the wearable EEG data.\n\nOur dataset includes:\n\n1. **PSG recordings** from 128 nights (files ending with \"*psg_eeg.edf*\"),\n2. **Wearable EEG recordings** from the same nights (files ending with \"*headband_eeg.edf*\"),\n3. **Human-consensus sleep stage labels**, obtained from the PSG recordings (\"*stage_hum*\" in the PSG data's event files),\n4. **AI-generated sleep stage labels**, separately obtained from PSG recordings and from wearable EEG recordings (\"*stage_ai*\" in both the PSG and headband data's event files).\n5. **Further meta data** for each recording (i.e., the participants' age, sex, and BMI, provided in the file \"*participants.tsv*\")\n\n## Participants\n\nParticipants were members of the general population, provided written informed consent, and received economic compensation of 50€ per night.\n\nIn order to represent the general population, we recruited a broad spectrum of participants along the dimensions of age, sex, and body mass index. We did not recruit patients with particular health conditions but only excluded severe conditions that could have affected the feasibility or safety of the study. In detail, inclusion and exclusion criteria were as follows.\n\n**Inclusion criteria**\n- Age > 18 years,\n- Sufficient knowledge of Spanish to understand the explanatory text, the consent form and study-related instructions.\n\n**Exclusion criteria**\n- Current severe medical interventions or medication,\n- History of severe neurological or psychiatric disorders,\n- Severe health problems in the last 12 months (especially neurological or cardiac disorders),\n- Current pregnancy or nursing,\n- Use of psychotropic medication, benzodiazepines, gamma-hydroxybutyric acid, and similar drugs before or during the study.\n\t\n\n## Format\n\nThe dataset is formatted according to the Brain Imaging Data Structure (BIDS). Please note that while the recordings are named from sub-1 up to sub-128, some come from the same participants. 108 unique individuals participated in the recordings, data of which can be matched using the pid (= unique participant ID) property in the file \"*participants.tsv*\"\n\nThe folder of each recording contains the data recorded with the PSG (\"*sub-xx_task-Sleep_acq-psg_eeg.edf*\") and with the wearable EEG headband (\"*sub-xx_task-Sleep_acq-headband_eeg.edf*\"). \n\n\n**Channel groups**\n\nNot all recordings contain data from all available sensors. The full list of available sensors for each recording can be obtained on the \"*channels.tsv*\" file. Channels in this file are coded in groups:\n- **PSG_EEG**: Electroencephalography recorded with the PSG system. Channels available are F3, F4, C3, C4, O1, O2 (PSG_F3, PSG_F4, PSG_C3, PSG_C4, PSG_O1, PSG_O2).\n- **PSG_EOG**: Electrooculography signals recorded with the PSG system. The location of the EOG electrodes was lateral of the eyes; one slightly lower than the participant's left eye and one slightly higher than the participant's right eye (according to AASM guidelines). For recordings containing only one EOG channel (PSG_EOG), the electrodes were recorded as a bipolar derivation. If two EOG channels are present (PSG_EOGR, PSG_EOGL), both electrodes were referenced against the left mastoid.\n- **PSG_EMG**: Electromyography signals recorded with the PSG system. Data contain a single EMG channel (PSG_EMG), which is the result of a bipolar derivation of two chin electrodes.\n- **PSG_BELTS**: Breathing activity recorded by the PSG system using abdominal and thoracic breathing belts (PSG_ABD, PSG_THOR).\n- **PSG_THER**: Respiratory airflow recorded with the PSG system using a thermistor (PSG_THER).\n- **PSG_CAN**: Respiratory airflow recorded with the PSG system using a nasal cannula (PSG_CAN).\n- **PSG_PPG**: Photopletismographic (PPG) activity recorded with the PSG system. Channels available are pulse (PSG_PULSE), heart beat (PSG_BEAT) and oxygen saturation (PSG_SPO2).\n- **HB_EEG**: Electroencephalography recorded with the wearable EEG headband. Headband channels are approximately located at AF7 and AF8 (HB_1, HB_2).\n- **HB_IMU**: Movement activity recorded by an Inertial Measurement Unit (IMU) in the headband. Signals are derived from an accelerometer (HB_IMU_1, HB_IMU_2, HB_IMU_3) and gyroscope (HB_IMU_4, HB_IMU_5, HB_IMU_6), both recording signals for all three spatial dimensions.\n- **HB_PULSE**: Pulse activity recorded with the wearable EEG headband using a PPG sensor (HB_PULSE).\n\n\n**Sleep staging labels**\n\nThe sleep stage labels for each recording are coded as events in corresponding event files (stage_hum and stage_ai; see above). Stages are coded as follows:\n- 0: Wake,\n- 1: NonREM sleep stage 1 (N1),\n- 2: NonREM sleep stage 2 (N2),\n- 3: NonREM sleep stage 3 (N3),\n- 4: REM sleep,\n- 8: PSG disconnections (e.g., due to bathroom breaks; human-scored only)\n- -2: Artifacts and missing data (AI-scored only)\n\n\n## References\n\nBerry, R. B., Brooks, R., Gamaldo, C. E., Harding, S. M., Lloyd, R. M., Marcus, C. L., et al. (2015). The AASM Manual for the Scoring of Sleep and Associated Events: Rules, Terminology and Technical Specifications, Version 2.2. Darien, Illinois.\n\nDanker-Hopfe, H., Anderer, P., Zeitlhofer, J., Boeck, M., Dorn, H., Gruber, G., et al. (2009). Interrater reliability for sleep scoring according to the Rechtschaffen & Kales and the new AASM standard. J. Sleep Res. 18, 74–84. doi: 10.1111/j.1365-2869.2008.00700.x.\n\nEsparza-Iaizzo, M., Sierra-Torralba, M., Klinzing, J. G., Minguez, J., Montesano, L., and López-Larraz, E. (2024). Automatic sleep scoring for real-time monitoring and stimulation in individuals with and without sleep apnea. bioRxiv, 2024.06.12.597764. doi: 10.1101/2024.06.12.597764.\n\nRosenberg, R. S., and Van Hout, S. (2013). The American Academy of Sleep Medicine inter-scorer reliability program: sleep stage scoring. J. Clin. sleep Med. 9, 81–87. doi: 10.5664/jcsm.2350.\n\n\n## Contact\n\nIf you have any questions or comments, please contact:\n\nEduardo ","bids_version":"1.8.0","sessions_count":null,"publish_date":null,"embedding_dirty":0,"license_tier":"public","zarr_status":"ready","zarr_converted_at":"2026-08-26 22:55:50","zarr_store_count":113,"zarr_index_etag":"a8e4e119bb573edb7f9b193add2aa052","zarr_source_commit":"960639e5c4594d49a6fec4166bcc87d06dc80ec5","archive_status":"ready","archive_size":19999420198,"archive_retry_count":0,"records_status":"ready","archive_skip_reason":null,"zarr_errors":143,"zarr_failure_count":143,"zarr_deterministic":1,"zarr_failed_at":"2026-08-26 22:55:50","num_dataset_citations":4,"num_datapaper_citations":3,"n_channels":2,"electrode_system":null,"has_hed":0,"hed_version":null,"is_exemplar":0,"bytes_present":35913652516,"data_complete":1,"withdrawn_at":null,"withdrawn_reason":null,"archive_complete":null,"archive_absent_files":null,"archive_declared_files":null,"zarr_pool_breaks":0,"total_recording_duration":3090610,"recording_duration_min":12290,"recording_duration_max":33244,"recording_count":256,"recordings_unavailable":143,"recordings_measured":113,"channel_count_min":2,"channel_count_max":11,"sampling_frequency":256,"power_line_frequency":50,"eeg_reference":"M1 (left mastoid)","placement_scheme":null,"sweep_stamps":"{\"enrichment_updated_at\":\"2026-08-19 01:29:34\",\"metadata_updated_at\":\"2026-08-19 01:29:47\",\"archive_checked_at\":\"2026-06-27 10:27:16\",\"zarr_checked_at\":null,\"records_checked_at\":\"2026-06-27 10:12:56\",\"citations_updated_at\":\"2026-09-08 03:00:50\",\"channel_montage_checked_at\":\"2026-06-28 23:48:27\",\"hed_checked_at\":\"2026-06-30 05:21:36\",\"data_checked_at\":\"2026-08-22 03:00:43\",\"availability_report_at\":\"2026-07-23 01:25:41\",\"recording_stats_at\":\"2026-09-02 11:33:25\",\"signal_defaults_at\":\"2026-09-02 12:38:16\"}","participants":128,"num_citations":7,"latest_version":"v1.0.0","zarr_verify_status":null,"zarr_verified_at":null,"owner_username":"nemarAdmin","owner_github":"nemarAdmin","file_size_formatted":"33.45 GB","zarr_data_failures":{"count":143,"detail_ref":"zarr/index.json","compacted_by":"migration_0074"},"zarr_index_url":"https://zarr.nemar.org/on005555/zarr/index.json","attestation_deposit_type":null,"attestation_key_status":null,"attestation_deidentified":null,"attestation_no_duplicate":null,"attestation_upstream_source":null,"attestation_accepted_at":null}}