{"data":{"_id":"6ac93487c2d31e627c370b1b","associated_paper_doi":null,"authors":["Mrinal Pahwa","Matthew Kusner","Carl D. Hacker","David T. Bundy","Kilian Q. Weinberger","Eric C. Leuthardt"],"bad_channels_info":null,"bids_version":"1.10.0","canonical_name":null,"computed_title":"Wakeful and sleep-like states in subdural ECoG (Pahwa et al., 2015): 4 patients, 64-channel grids","contact_info":null,"contributing_labs":null,"data_processed":false,"dataset_doi":"10.82901/nemar.nm000398","dataset_id":"nm000398","datatypes":["ieeg"],"demographics":{"age_max":55,"age_mean":37.25,"age_min":21,"ages":[44,55,21,29],"handedness_distribution":{"l":1,"r":3},"sex_distribution":{"f":2,"m":2},"species":null,"subjects_count":4},"ethics_approvals":["This study was approved by the Human Research Protection Office at Washington University School of Medicine. All patients gave informed written consent prior to participation. [Pahwa et al. 2015, PLoS One 10:e0142947, Ethics Statement]"],"experimental_modalities":null,"external_links":{"github_url":null,"osf_url":null,"paper_url":null,"source_url":"https://nemar.org/dataexplorer/detail/nm000398"},"funding":["National Science Foundation Emerging Frontiers in Research and Innovation grant EFRI1137211","National Institute of Mental Health Fellowship 1F30MH099877-01-A1","Washington University Institute of Clinical and Translational Sciences grant UL1 TR000448","National Center for Advancing Translational Sciences grant TL1 TR000449"],"generated_by":[{"Description":"Release 'data' matrices written as BrainVision float32 (values identical); sampling rate from the release README PDF. Code in code/.","Name":"b3w3_convert_pahwa.py"}],"how_to_acknowledge":"Cite Pahwa M, Kusner M, Hacker CD, Bundy DT, Weinberger KQ, Leuthardt EC (2015) Optimizing the detection of wakeful and sleep-like states for future electrocorticographic brain computer interface applications. PLoS One 10(11):e0142947, doi:10.1371/journal.pone.0142947; and the Dryad dataset doi:10.5061/dryad.4f92n.","ingestion_fingerprint":"045d8ea267afe89fa4af5e76be7f6326a02591dca0b82137e9e60ad74b2fbb21","license":"CC0-1.0","n_contributing_labs":null,"n_records":23,"name":"Wakeful and sleep-like states in subdural ECoG (Pahwa et al., 2015): 4 patients, 64-channel grids","nchans_counts":[{"count":23,"val":64}],"readme":"[![DOI](https://img.shields.io/badge/DOI-10.82901%2Fnemar.nm000398-blue)](https://doi.org/10.82901/nemar.nm000398)\n# Wakeful and sleep-like states in subdural ECoG (Pahwa et al., 2015)\nSubdural ECoG from four patients with intractable epilepsy (Barnes Jewish Hospital, St. Louis) with 8x8 grids over left\nfrontal, temporal and parietal cortex. For each patient the release gives two \"wakeful\" and two \"sleep-like\" epochs,\nidentified from video/audio of natural behaviour during clinical monitoring (no task).\n## Source\n- Dryad: Pahwa M, Kusner M, Hacker CD, Bundy DT, Weinberger KQ, Leuthardt EC. Data from: Optimizing the detection of\n  wakeful and sleep-like states for future electrocorticographic brain computer interface applications.\n  doi:10.5061/dryad.4f92n (version 1, 2016-01-26). License: CC0 1.0 (Dryad).\n- Article: PLoS One 10(11):e0142947 (2015), doi:10.1371/journal.pone.0142947 (open access, PMC4643046).\n- All 24 Dryad files were downloaded through the Dryad API and matched the Dryad md5 digests and sizes.\n## Sampling rate (important)\nThe .mat files contain only a 64-column 'data' matrix: no sampling rate, channel names or units. The sampling rate\nused here comes from the release README (README_for_SubA_Sleep1.pdf): subject A 256 Hz, subjects B, C and D 512 Hz.\nThe article's Methods say the signals were \"sampled at 256 Hz\" for all patients. We follow the README, which is\nspecific to the released files; it is not verifiable from the files themselves.\n## Contents\n- `sub-<A-D>/ieeg/sub-<X>_task-<wake|sleep>[_acq-part<k>]_run-<n>_ieeg.*`: 23 files, 13.62 h in\n  total at the README rates. `run` = epoch number of the release (Sleep1/Sleep2/Wake1/Wake2). Epochs released as two\n  files (`_part1`, `_part2`) are kept as two files (`acq-part1`, `acq-part2`); the part lengths differ by at most one\n  sample, consistent with one recording cut in half, but the release does not say so. Mean absolute sample-to-sample\n  step at the junction vs typical step (µV): A_sleep2: 12.1 vs 11.6; A_wake1: 15.0 vs 27.7; A_wake2: 21.7 vs 36.5; B_sleep2: 74.7 vs 78.1; B_wake2: 33.5 vs 77.8; C_sleep2: 41.6 vs 43.8; D_sleep1: 33.6 vs 46.8.\n- Channels `ch01`..`ch64` = columns 1-64 of the release matrix, typed ECOG. Electrode positions are shown only as\n  images in the README PDF (kept in sourcedata); no coordinates or labels are released.\n- Several files have many samples at the amplitude limit |x| = 5482.29 (saturation), mostly subjects B and D\n  (more than half of the samples of at least one channel in: SubB_Sleep1.mat, SubB_Sleep2_part1.mat, SubB_Sleep2_part2.mat, SubB_Wake1.mat, SubB_Wake2_part1.mat, SubB_Wake2_part2.mat, SubD_Sleep2.mat, SubD_Wake2.mat). The\n  percentage per channel is in the `description` column of each channels.tsv. Channels are not marked bad: the\n  release has no channel quality information.\n- `sourcedata/dryad-4f92n-deidentified/`: all released files (the 23 .mat files and README_for_SubA_Sleep1.pdf);\n  the only change is that MAT text-header and PDF metadata dates are reduced to month and year (day -> 01).\n  `DEIDENTIFICATION_MANIFEST.tsv` lists original and new sha-256.\n## Conversion\n- Values are written as BrainVision IEEE_FLOAT_32; every value of the float64 source is exactly representable in\n  float32 (checked per file), so values are identical. MNE read-back matches the source.\n- The release states the signals are raw, with only the amplifiers' 0.1 Hz hardware high-pass. The unit is not stated;\n  µV is assumed (amplitudes are consistent with µV).\n- Participant age, sex, handedness, seizure foci: article Table 1 (subject letters A-D match the release).\n## Privacy\n- No names, dates of recording or hospital identifiers in the files. The README PDF names the corresponding author\n  (contact e-mail), not patients. File-creation dates (MAT header, PDF metadata) reduced to month and year.\n## Additional metadata and localisation (added 2026-10-08)\nCompiled after the upload from the article, its supplement and the source deposit (each statement names its source). Text and sidecar metadata only; no data file was changed.\nSources: P = Pahwa, Kusner, Hacker, Bundy, Weinberger, Leuthardt 2015, PLoS ONE 10(11):e0142947, doi:10.1371/journal.pone.0142947 (PMC4643046). R = deposit README_for_SubA_Sleep1.pdf (one page).\n**Reference.** All electrodes were referenced to a skull-facing electrode of the same size (P, Methods). The analysis also regressed out the mean of non-noisy electrodes (P).\n**Electrodes.** PMT subdural grids, 8x8, flat circular platinum electrodes of 2.3 mm diameter with 10 mm spacing, over the left frontal, temporal and parietal cortex (P, Methods and Fig 2).\n**Localisation.** The cortex was reconstructed from the pre-op T1 and electrodes located on the post-op CT. Electrodes and surface were co-registered to a common atlas space and projected onto the pial surface along the grid normal, keeping 10 mm spacing (after Hermes et al. 2010) (P, \"Construction of Subject-averaged Cortical Maps\"). The electrode positions for each subject appear only as figures (P Fig 2A; R). No coordinates or per-electrode anatomical labels were deposited, and the file channel order is not linked to grid position.","recording_modality":["ieeg"],"references_and_links":["https://doi.org/10.1371/journal.pone.0142947","https://doi.org/10.5061/dryad.4f92n"],"senior_author":"Eric C. Leuthardt","sessions":[],"sfreq_counts":[{"count":16,"val":512.0},{"count":7,"val":256.0}],"size_bytes":9443304274,"source":"nemar","source_datasets":[{"DOI":"doi:10.5061/dryad.4f92n","URL":"https://datadryad.org/dataset/doi:10.5061/dryad.4f92n","Version":"Dryad version 1 (published 2016-01-26)"}],"stats_computed_at":"2026-10-09T18:38:05.208170+00:00","storage":{"backend":"nemar","base":"s3://nemar/nm000398","dep_keys":["CHANGES","README.md","participants.json","participants.tsv"],"raw_key":"dataset_description.json"},"study_design":null,"study_domain":null,"tagger_meta":{"config_hash":"39931253008fe2df","model":"gpt-6-sol","source":"eegdash-llm-tagger","tagged_at":"2026-10-10T13:18:15Z","taxonomy":"v2"},"tags":{"confidence":{"modality":0.8,"pathology":0.8,"type":0.9},"modality":["No stimulus"],"pathology":["Epilepsy"],"reasoning":{"decision_summary":"Pathology—Epilepsy versus Healthy: explicit “patients with intractable epilepsy” decisively favors Epilepsy; confidence 0.8, supported by that quote and the epilepsy few-shot. Modality—No stimulus versus Unknown: “no task,” natural-behaviour monitoring, and wake/sleep epochs favor No stimulus; confidence 0.8. Type—Sleep versus Consciousness: “sleep-like” epochs, tasks “sleep” and “wake,” and the stated aim of detecting those states favor Sleep over the broader Consciousness label; confidence 0.9 with a clear sleep few-shot match. Clinical is not selected because epilepsy is the recruited condition, not the stated research target. No metadata fact was overridden by a few-shot pattern.","evidence_alignment_check":"Pathology: Metadata says “four patients with intractable epilepsy”; the epilepsy few-shot suggests Epilepsy. ALIGN. Modality: Metadata says “natural behaviour during clinical monitoring (no task)” and describes wakeful and sleep-like epochs; the sleep few-shot suggests No stimulus. ALIGN. Type: Metadata says “wakeful” and “sleep-like” epochs and names their detection as the aim; the sleep few-shot suggests Sleep. ALIGN. The epilepsy HFO example suggests Clinical only for a condition-focused biomarker study, so it does not conflict with the stated aim here.","few_shot_analysis":"The Surrey cEEGrid sleep dataset is the closest paradigm match: recordings without a task used to identify sleep-related states are labeled No stimulus and Sleep. The pediatric epilepsy HFO example supports Epilepsy for a recruited epilepsy cohort, but its Clinical type reflects an epilepsy-biomarker aim that is absent here.","metadata_analysis":"The readme identifies “four patients with intractable epilepsy.” It describes “two ‘wakeful’ and two ‘sleep-like’ epochs” identified from “natural behaviour during clinical monitoring (no task).” The cited source is titled “Optimizing the detection of wakeful and sleep-like states,” and the tasks are “sleep” and “wake.”","paper_abstract_analysis":"No paper abstract is provided. The article title quoted in the readme supports a wake/sleep-state detection aim."},"type":["Sleep"]},"tasks":["sleep","wake"],"timestamps":{"dataset_created_at":null,"dataset_modified_at":"2026-10-08 06:15:16","digested_at":"2026-10-08T08:47:36.528536+00:00"},"total_duration_s":49028.10546875,"total_files":23},"database":"eegdash","success":true}