{"data":{"_id":"6ac93487c2d31e627c370b00","acknowledgements":"From Falach et al. (2024), Acknowledgements: \"We thank the participants in this study. We thank Nir lab members for discussions and comments on the manuscript, B. Salaz and N. Regev for administrative assistance\". This NEMAR copy is a redistribution of the authors' BIDS archive by Bruno Aristimunha (see README and CHANGES).","associated_paper_doi":null,"authors":["Rotem Falach","Maya Geva-Sagiv","Dawn Eliashiv","Lilach Goldstein","Ofer Budin","Guy Gurevitch","Genela Morris","Ido Strauss","Amir Globerson","Firas Fahoum","Itzhak Fried","Yuval Nir"],"bad_channels_info":null,"bids_version":"1.10.0","canonical_name":null,"computed_title":"Annotated interictal epileptiform discharges in intracranial EEG (iEEG) sleep data (Falach et al., 2024)","contact_info":null,"contributing_labs":null,"data_processed":true,"dataset_doi":"10.82901/nemar.nm000360","dataset_id":"nm000360","datatypes":["ieeg"],"demographics":{"age_max":47,"age_mean":31.96,"age_min":17,"ages":[35,39,29,17,46,28,42,25,28,27,41,25,33,39,26,23,33,47,36,34,29,44,32,22,19],"handedness_distribution":null,"sex_distribution":{"f":12,"m":13},"species":null,"subjects_count":25},"ethics_approvals":["Institutional Review Board, Tel Aviv Sourasky Medical Center (TLVMC IRB protocol TLV-008-12)","Medical Institutional Review Board, University of California, Los Angeles (UCLA Hospital IRB protocol 10-000973)"],"experimental_modalities":null,"external_links":{"github_url":null,"osf_url":null,"paper_url":null,"source_url":"https://nemar.org/dataexplorer/detail/nm000360"},"funding":["National Science Foundation and US-Israel Binational Science Foundation (1756473, 2017628) to I.F. and Y.N.","National Institute of Neurological Disorders and Stroke (U01 grants NS108930 and NS123128, R01-NS084017) to I.F.","European Research Council (ERC-2019-CoG 864353, ERC Proof of Concept (PoC) grant 101158226) and Corundum Neuroscience grant to Y.N.","Human Frontier Science Program Organization postdoctoral fellowship (LT000440) to M.G.-S.","Rothschild Foundation postdoctoral fellowship; Tel Aviv University Sagol School of Neuroscience Postdoctoral Fellowship; The Israel National Postdoctoral Program for Advancing Women in Science; Tel Aviv University GRTF and The Naomi Foundation travel grants (to M.G.-S.)","The Khazanov scholarship program to R.F."],"generated_by":[{"Description":"Authors' BIDS archive extracted unchanged, then minimal validator fixes listed in CHANGES (v1.0.1). EDF files byte-identical to the archive.","Name":"laneI_build003.py (iEEG-to-NEMAR redistribution campaign)"}],"how_to_acknowledge":"Please cite: Falach R, Geva-Sagiv M, Eliashiv D, Goldstein L, Budin O, Gurevitch G, Morris G, Strauss I, Globerson A, Fahoum F, Fried I, Nir Y. Annotated interictal discharges in intracranial EEG sleep data and related machine learning detection scheme. Sci Data. 2024;11:1354. doi:10.1038/s41597-024-04187-y; and the dataset doi:10.6084/m9.figshare.26131978.v3.","ingestion_fingerprint":"b725338c37d93913977b52ecde8514cc01f943e4b6c93fc8e189b620af61c8c5","license":"CC-BY-NC-4.0","n_contributing_labs":null,"n_records":25,"name":"Annotated interictal epileptiform discharges in intracranial EEG (iEEG) sleep data (Falach et al., 2024)","nchans_counts":[{"count":3,"val":8},{"count":3,"val":30},{"count":2,"val":67},{"count":2,"val":24},{"count":2,"val":22},{"count":2,"val":75},{"count":2,"val":28},{"count":1,"val":76},{"count":1,"val":20},{"count":1,"val":73},{"count":1,"val":70},{"count":1,"val":25},{"count":1,"val":27},{"count":1,"val":14},{"count":1,"val":52},{"count":1,"val":77}],"readme":"[![DOI](https://img.shields.io/badge/DOI-10.82901%2Fnemar.nm000360-blue)](https://doi.org/10.82901/nemar.nm000360)\n# Interictal epileptiform discharge annotations in sleep iEEG Data\n## Dataset Overview\nThis dataset comprises multichannel intracranial EEG (iEEG) recordings from 25 epilepsy patients during overnight sleep, collected at two medical centers.\nThe recordings include 852 annotated interictal epileptiform discharges, primarily from the medial temporal lobe, identified by expert neurologists.\nThe data is formatted according to the BIDS (Brain Imaging Data Structure) standard for iEEG recordings.\n## Dataset Structure\n- participants.tsv: Contains demographic and clinical information for each participant, including:\n  - participant_id: Unique identifier for each participant.\n  - age: Age at the time of the study (in years).\n  - sex: Biological sex (M/F).\n  - SOZ: Seizure onset zone.\n  - TimeFromSleepOnset: Time from sleep onset (in minutes).\n  - SleepScoring: Sleep stages scored according to AASM criteria.\n- sub-\\<subject_id\\>/: Contains the iEEG recordings and metadata for each participant.\n  - sub-\\<subject_id\\>_task-sleep_ieeg.edf: The raw iEEG data in EDF format.\n  - sub-\\<subject_id\\>_task-sleep_events.tsv: Event annotations, such as expert-determined IED (interictal epileptiform discharges) timings.\n  - sub-\\<subject_id\\>_electrodes.tsv: Electrode names and MNI coordinates (for select subjects).\n  - sub-\\<subject_id\\>_coordsystem.json: Describes the coordinate system used for electrode localization.\n- derivatives/: Contains processed files, such as:\n  - sub-\\<subject_id\\>_task-sleep_events_interpretation.tsv: Interpretation of events for each participant.\n  - channels.tsv: Information on channel names\n## License and Data Use\nThe dataset is shared under the CC-BY-NC license. Users are free to use the data for non-commercial purposes with appropriate attribution.\n## Citation\nIf you use this dataset in your research, please cite the following publication:\nFalach R, Geva-Sagiv M, Eliashiv D, Goldstein L, Budin O, Gurevitch G, Morris G, Strauss I, Globerson A, Fahoum F, Fried I, Nir Y. Annotated interictal discharges in intracranial EEG sleep data and related machine learning detection scheme. Sci Data. 2024 Dec 18;11(1):1354. doi: 10.1038/s41597-024-04187-y.\n---------------------------------------------------------------------------\n## Redistribution on NEMAR (added 2026-10-06; everything above this line is the authors' README.txt, unchanged)\n### Source\n- Figshare: Falach R, Geva-Sagiv M, Eliashiv D, Goldstein L, Budin O, Gurevitch G, Morris G, Strauss I,\n  Globerson A, Fahoum F, Fried I, Nir Y (2024). *Annotated interictal epileptiform discharges in intracranial EEG\n  (iEEG) sleep data.* figshare. Dataset. https://doi.org/10.6084/m9.figshare.26131978.v3\n  (article 26131978, version 3, published 2024-12-30; single file `ieeg_ieds_bids_final.zip`, 272,009,926 bytes,\n  MD5 cdf392d5f92ba106b1f6794844147109).\n- Data descriptor: Falach R. et al. Annotated interictal discharges in intracranial EEG sleep data and related\n  machine learning detection scheme. *Scientific Data* 11, 1354 (2024). https://doi.org/10.1038/s41597-024-04187-y\n- Code: https://github.com/NirLab-TAU/iEEG_ied_detection\n- The original archive is included unchanged as `sourcedata/ieeg_ieds_bids_final.zip`.\nThis NEMAR copy is the authors' own BIDS dataset with the minimal changes needed to pass the current BIDS\nvalidator. Every change is listed in `CHANGES` (version 1.0.1). No recording was modified: the 25 EDF files are\nbyte-identical to the archive (SHA-256 checked). No filtering, resampling, re-referencing or channel removal was\ndone for this redistribution.\n### Licence\nTwo licence statements exist for this dataset, and they disagree:\n1. Figshare record 26131978 v3, licence field: **\"CC BY 4.0\"** (https://creativecommons.org/licenses/by/4.0/).\n2. Inside the archive, `dataset_description.json`: `\"License\": \"CC-BY-NC\"`; and the authors' README.txt (above):\n   \"The dataset is shared under the CC-BY-NC license. Users are free to use the data for non-commercial purposes\n   with appropriate attribution.\"\nThe archive statement gives no version number. The depositor (Bruno Aristimunha, 2026-10-06) decided to apply\nthe most restrictive of the stated licences. This redistribution is therefore released under\n**CC BY-NC 4.0 (`CC-BY-NC-4.0`)**. The version \"4.0\" is the depositor's choice: the source states no version,\nand 4.0 is the Creative Commons version of the Figshare record. Commercial use is not permitted under this copy.\nIf the authors clarify the licence, this copy will be updated.\n### Ethics (from Falach et al., 2024)\n\"All patients provided written informed consent to participate in the research study, under the approval of the\nInstitutional Review Board at the Tel Aviv Sourasky Medical Center (TASMC, 9 patients), or the Medical\nInstitutional Review Board at the University of California, Los Angeles (UCLA, 16 patients). In their consent,\npatients explicitly agreed for anonymized data to be shared and used in future scientific publications. UCLA\nHospital IRB protocol: 10-000973, TLVMC IRB protocol: TLV-008-12.\"\n### Recording facts worth knowing (from the paper and the files)\n- 25 patients (sub-01 to sub-09: Tel Aviv Sourasky Medical Center, 50 Hz mains; sub-10 to sub-25: UCLA, 60 Hz\n  mains, per `InstitutionName` and `PowerLineFrequency` in each `_ieeg.json`).\n- Each EDF is a short sleep excerpt, 61 to 291 s long (total 4,603 s = 76.7 min, matching the paper's\n  \"76 minutes\"), not a whole night.\n- The paper reports acquisition with a Blackrock system \"referenced to a central scalp electrode and sampled at\n  2KHz\". The shared EDF files are at 1000 Hz, so the authors resampled the data before sharing. The EDF\n  headers carry no filter information (`SoftwareFilters` is \"n/a\" in the source sidecars).\n- Some participants' files also contain bipolar derivations (channel names such as `RA1-RA3`) next to the\n  referential channels. The authors added these to help annotation (see the paper). They are kept as provided.\n- `events.tsv`: one row per expert-annotated interictal epileptiform discharge (`duration` 0, `trial_type` =\n  the neurologist's free-text label, `sample` = onset sample). The 25 files hold 853 rows in total; the paper\n  reports 852 IEDs. The rows are kept as provided. `derivatives/` holds the authors' per-event channel\n  lists (`*_events_interpretation.tsv`) and the channel-abbreviation table (`channels.tsv`).\n- Electrode coordinates (MNI152Lin, mm) are provided by the authors for 18 participants. For the other 7\n  (sub-08, sub-10 to sub-15), the archive has no coordinates. `electrodes.tsv` for these lists the referential\n  contact names with x/y/z = n/a, and `coordsystem.json` says \"Other\" with units \"n/a\". No coordinates were\n  invented. The paper's figure used group-average positions for these patients; those values are not in the\n  archive.\n### RecordingDuration reconciliation\nThe source sidecars gave `RecordingDuration` values of 60.999 to 290.999 s. The EDF headers give\nn_records x record_duration = 61 to 291 s, at 1000 Hz with 1-s records: exactly 0.001 s (one sample) longer\nfor every file. The source values follow the (n_samples - 1)/fs convention. BIDS defines the field as the length\nof the recording, so the sidecars now carry the header value (n_samples/fs). The per-file old and new values are\nin `CHANGES`.\n### Privacy\nThe EDF headers were already de-identified by the authors with MNE-BIDS (\"X X X\" patient field,\n\"Startdate 01-JAN-1985 X mne-bids_anonymize X\"). The times of day were kept and the dates were replaced. The\nTSV and JSON files contain participant codes, age in years, sex, seizure-onset zone, minutes from sleep onset and\nsleep-stage vectors. They contain no names, dates of birth, record numbers or imaging. A byte-level review was run\nbefore this deposit.\n---------------------------------------------------------------------------\n## Additional description (lane L metadata enrichment, 2026-10-06; sources: Falach et al. 2024, Sci Data 11:1354, doi:10.1038/s41597-024-04187-y, sections named below)\n### Cohort and acquisition (Methods: Participants, EEG Recordings)\n- 25 patients with drug-resistant epilepsy, implanted with depth iEEG electrodes for clinical evaluation of seizure\n  foci; electrode locations were based solely on clinical criteria. 9 patients from Tel Aviv Sourasky Medical\n  Center (TASMC, recruited 2017-2023) and 16 from UCLA (2007-2012, 2017-2021), who volunteered for an overnight\n  sleep research recording session.\n- Implant type: depth electrodes (SEEG-type), platinum contacts along the shaft. All 980 channels in the shared\n  files are depth-electrode channels (typed SEEG), including the authors' bipolar derivations.\n- Amplifier: Blackrock system; sampled at 2 kHz, referenced to a central scalp electrode. The shared EDFs are\n  1000 Hz (see \"Recording facts\" above).\n- Channel naming: hemisphere letter (R/L) + 1-3 region letters (e.g. A amygdala, EC entorhinal cortex, AH\n  anterior hippocampus; full list in derivatives/channels.tsv) + contact number from 1 (most mesial) increasing\n  laterally. Channel selection was based on availability, without regard to IED presence.\n- In 15 patients, sleep scoring also used scalp polysomnography (C3, C4, Pz, EOG, chin EMG). These scalp\n  channels are not part of the shared EDF files.\n### Sleep staging (Methods: Sleep staging)\nManual scoring per AASM guidelines with the Visbrain sleep module (data resampled to 250 Hz, 30-s epochs, with\nEOG and optionally EMG). Where only iEEG was available, a validated automatic algorithm detected NREM from\nneocortical slow waves and spindles, and all other epochs were marked \"wake/REM\". The per-subject sleep-scoring\nvector (30-s resolution, 15 patients) and time from sleep onset (22 patients) are in participants.tsv.\n### Annotation procedure (Methods: Manual annotations)\nTwo neurologists annotated the data (D.E.: full montage of all intracranial channels for 10 UCLA patients; L.G.:\nthe other 15 patients, montage of the three most medial MTL channels). Annotation used mainly a scalp-reference\nmontage; for patients with only MTL signals an additional bipolar montage was included. Criteria: IFCN criteria\nfor interictal epileptiform discharges with intracerebral considerations (Frauscher et al.). Annotators were\nblinded to the clinical profile and used Nicolet Reader (Natus) or Persyst. Each tag has a timestamp and the\nbrain location of the abnormal activity; tags were then converted into channel lists\n(derivatives/*_events_interpretation.tsv). Inter-rater agreement on 6 patients: Cohen's kappa 0.63 +/- 0.23\n(1-s resolution).\n### Files\n- sub-XX/ieeg/*_ieeg.edf: EDF, 1000 Hz, microvolts, referential (and some bipolar) depth channels.\n- *_ieeg.json: site, power line frequency, recording duration, channel counts, reference.\n- *_channels.tsv: channel type/units/cutoffs plus side (L/R) and soz_region (1 = in the seizure-onset zone).\n- *_events.tsv: one row per annotated IED (onset s, duration 0, trial_type = neurologist's free-text label,\n  sample = onset x 1000).\n- *_electrodes.tsv / *_coordsystem.json: MNI152Lin coordinates (mm) for 18 participants; n/a for 7 (see above).\n- derivatives/channels.tsv: channel-abbreviation definitions; derivatives/*_events_interpretation.tsv: per-IED\n  channel lists (time_in_sec, annotation, chans).\n- sourcedata/ieeg_ieds_bids_final.zip: the authors' original archive.\n### Preprocessing already applied by the source\nResampling from the 2 kHz acquisition to the shared 1000 Hz (method not stated by the authors); bipolar\nderivations added for some patients. The 0.1-500 Hz band-pass and 50/60 Hz notch described in the paper's\n\"Technical Validation\" were applied for the detection model, not to the shared files (SoftwareFilters \"n/a\" in the\nsource sidecars).\n### How to load\n    from mne_bids import BIDSPath, read_raw_bids\n    bp = BIDSPath(root=\"<dataset root>\", subject=\"01\", task=\"sleep\", datatype=\"ieeg\", suffix=\"ieeg\", extension=\".edf\")\n    raw = read_raw_bids(bp)   # IED annotations from events.tsv appear in raw.annotations\nThe authors' detection code: https://github.com/NirLab-TAU/iEEG_ied_detection\n### Funding and acknowledgements\nSee dataset_description.json (Funding, Acknowledgements), copied from the paper's Acknowledgements.","recording_modality":["ieeg"],"references_and_links":["https://doi.org/10.1038/s41597-024-04187-y","https://doi.org/10.6084/m9.figshare.26131978.v3","https://github.com/NirLab-TAU/iEEG_ied_detection"],"senior_author":"Yuval Nir","sessions":[],"sfreq_counts":[{"count":25,"val":1000.0}],"size_bytes":632108002,"source":"nemar","source_datasets":[{"DOI":"doi:10.6084/m9.figshare.26131978.v3","URL":"https://figshare.com/articles/dataset/_/26131978/3","Version":"3"}],"stats_computed_at":"2026-10-09T18:38:05.207478+00:00","storage":{"backend":"nemar","base":"s3://nemar/nm000360","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.9,"type":0.9},"modality":["No stimulus"],"pathology":["Epilepsy"],"reasoning":{"decision_summary":"Pathology—Epilepsy versus Healthy: explicit epilepsy-patient and drug-resistant-epilepsy quotes establish Epilepsy; there is no healthy cohort described (0.9, multiple direct quotes and a close few-shot match). Modality—No stimulus versus Unknown: overnight sleep, short sleep excerpts, and the absence of any described presentation favor No stimulus; stimulus details are not explicitly negated (0.8, multiple recording-context quotes and a close analog). Type—Clinical versus Sleep: annotated interictal discharges, per-event IED annotations, and evaluation of seizure foci favor Clinical; sleep describes when recordings were obtained, while sleep physiology is not the stated aim (0.9, multiple direct quotes and a close few-shot match). All selections align with metadata and few-shot conventions.","evidence_alignment_check":"Pathology: Metadata says \"25 epilepsy patients\" and \"drug-resistant epilepsy\"; the epilepsy HFO example suggests Epilepsy. ALIGN. Modality: Metadata describes \"overnight sleep\" and \"short sleep excerpt[s],\" with no presented stimulus; the epilepsy HFO and sleep examples suggest No stimulus. ALIGN. Type: Metadata emphasizes \"annotated interictal epileptiform discharges\" and \"clinical evaluation of seizure foci\"; the epilepsy HFO example suggests Clinical rather than Sleep when pathological-event detection is the aim. ALIGN. No metadata fact is overridden by a demonstration pattern.","few_shot_analysis":"The pediatric epilepsy HFO example is the closest match: recordings made during sleep are labeled Epilepsy, No stimulus, and Clinical because the aim is detecting epilepsy-related events, not studying sleep physiology. The dementia resting-EEG example also shows that a diagnostic aim can take precedence over a recording-state label.","metadata_analysis":"The README says the dataset contains \"intracranial EEG (iEEG) recordings from 25 epilepsy patients during overnight sleep\" and \"852 annotated interictal epileptiform discharges.\" The cohort description specifies \"25 patients with drug-resistant epilepsy, implanted with depth iEEG electrodes for clinical evaluation of seizure foci.\" The files contain \"one row per annotated IED,\" and the task is named \"sleep.\" No presented sensory stimulus is described.","paper_abstract_analysis":"No standalone paper abstract is supplied. The README cites a paper on annotated interictal discharges and a related detection scheme, consistent with the metadata's clinical annotation aim."},"type":["Clinical"]},"tasks":["sleep"],"timestamps":{"dataset_created_at":null,"dataset_modified_at":"2026-10-08 05:51:59","digested_at":"2026-10-08T08:47:16.024604+00:00"},"total_duration_s":4603.0,"total_files":25},"database":"eegdash","success":true}