{"data":{"_id":"6a8fec6f615511b970fc16d0","acknowledgements":"Intracranial EEG recorded at the Sleep-Wake-Epilepsy-Center (SWEC), Department of Neurology, Inselspital, University of Bern, in collaboration with the Integrated Systems Laboratory, ETH Zurich. Seizure onsets/offsets were annotated by board-certified epileptologist Prof. Kaspar Schindler.","associated_paper_doi":null,"authors":["Francesco Carzaniga","Michael Hersche","Abu Sebastian","Kaspar Schindler","Abbas Rahimi"],"bad_channels_info":null,"bids_version":"1.9.0","canonical_name":null,"computed_title":"Carzaniga-2025-foundation-10.48550/arxiv.2506.20354","contact_info":null,"contributing_labs":null,"data_processed":false,"dataset_doi":"10.82901/nemar.nm000276","dataset_id":"nm000276","datatypes":["ieeg"],"demographics":{"age_max":null,"age_mean":null,"age_min":null,"ages":[],"handedness_distribution":null,"sex_distribution":null,"species":null,"subjects_count":50},"experimental_modalities":null,"external_links":{"github_url":null,"osf_url":null,"paper_url":null,"source_url":"https://nemar.org/dataexplorer/detail/nm000276"},"funding":[],"generated_by":[{"CodeURL":"https://github.com/IBM/multi-variate-parallel-transformer","Description":"Streaming HDF5 (data/ieeg, µV) -> BrainVision BIDS conversion; channels indexed in original order, seizures mapped to events, electrodes n/a (anonymized).","Name":"swec-bids-converter"},{"Description":"Streaming HDF5 (Hugging Face NeuroTec/SWEC_iEEG_Dataset @584e9d29, data/ieeg float32 µV) -> BrainVision BIDS with the v1.0.0 conventions; reproduces v1.0.0 .eeg files byte-for-byte; used for the subjects added in v1.1.0 and sub-01 events.","Name":"laneH_convert.py (nm000276 extension)","Version":"2026-10-06"}],"how_to_acknowledge":"Please cite Carzaniga, Hersche, Sebastian, Schindler & Rahimi, 'A foundation model with multi-variate parallel attention to generate neuronal activity', arXiv:2506.20354 (2025), and the SWEC-ETHZ iEEG Database (http://ieeg-swez.ethz.ch/).","ingestion_fingerprint":"37c5fac119525bbbd89246832a7151d28a305de45aec5976a15df4acbdc181e8","license":"CDLA-Permissive-2.0","n_contributing_labs":null,"n_records":50,"name":"Carzaniga-2025-foundation-10.48550/arxiv.2506.20354","nchans_counts":[{"count":7,"val":32},{"count":4,"val":64},{"count":4,"val":60},{"count":2,"val":24},{"count":2,"val":54},{"count":2,"val":56},{"count":2,"val":63},{"count":2,"val":34},{"count":1,"val":61},{"count":1,"val":48},{"count":1,"val":74},{"count":1,"val":57},{"count":1,"val":40},{"count":1,"val":104},{"count":1,"val":126},{"count":1,"val":86},{"count":1,"val":49},{"count":1,"val":76},{"count":1,"val":62},{"count":1,"val":92},{"count":1,"val":66},{"count":1,"val":69},{"count":1,"val":33},{"count":1,"val":22},{"count":1,"val":39},{"count":1,"val":98},{"count":1,"val":88},{"count":1,"val":128},{"count":1,"val":75},{"count":1,"val":29},{"count":1,"val":42},{"count":1,"val":89},{"count":1,"val":47}],"readme":"[![DOI](https://img.shields.io/badge/DOI-10.82901%2Fnemar.nm000276-blue)](https://doi.org/10.82901/nemar.nm000276)\n# SWEC iEEG Dataset (BIDS)\nLong-term pre-surgical intracranial EEG (iEEG) from patients with\npharmacoresistant epilepsy, recorded at the Sleep-Wake-Epilepsy-Center (SWEC),\nDepartment of Neurology, Inselspital, University of Bern, in collaboration with\nthe Integrated Systems Laboratory, ETH Zurich.\n## Contents\n- Subjects: 50 (`sub-01` ... `sub-50`; 40 since v1.0.0, 10 added in v1.1.0)\n- Total recording: 6672 hours of continuous iEEG\n- Annotated electrographic seizures: 460\n- Task label: `ltm` (long-term monitoring; passive, no task)\n- Format: BrainVision (IEEE float32), data in microvolts (µV)\n## Recording & preprocessing (at source)\n- Intracranial strip, grid, and depth electrodes (mixed).\n- 16-bit analog-to-digital conversion.\n- Sampling rate 512 Hz or 1024 Hz (per subject; see participants.tsv).\n- Digitally band-pass filtered 0.5-150 Hz (4th-order Butterworth, forward-backward / zero-phase).\n- Channels with artifacts were removed at the source; remaining channels marked `good`.\n- Median reference across channels (per the SWEC-ETHZ long-term protocol).\n- Seizure onsets/offsets annotated by board-certified epileptologist Prof. Kaspar Schindler.\n## Anonymization — channels & electrodes\nThe public SWEC release is FULLY ANONYMIZED. Anatomical channel labels and\nelectrode locations are NOT disclosed (electrode coordinates + the implied\nimaging would be re-identifying for epilepsy-surgery patients). Channels are\ntherefore named `iEEG01..iEEGNN`, preserving the original recording order\n(1:1 with the source channel index 0..N-1). `electrodes.tsv` lists every\ncontact with coordinates set to `n/a`, and channel type is recorded as the\ngeneric intracranial `SEEG` (the per-contact strip/grid/depth type is not\ndisclosed). No locations were fabricated.\n## Provenance\nv1.0.0 (40 subjects) was converted to BIDS from the public HDF5 release at\nhttps://mb-neuro.medical-blocks.ch/public_access/databases/ieeg/swec_ieeg\n(authentic medical-blocks / artorg source) and re-hosted its 40-subject public subset.\nv1.1.0 adds the 10 remaining subjects of the same cohort (`sub-07`, `sub-13`,\n`sub-14`, `sub-17`, `sub-21`, `sub-25`, `sub-26`, `sub-40`, `sub-44`, `sub-49`)\nfrom the authors' Hugging Face release `NeuroTec/SWEC_iEEG_Dataset`, revision\n`584e9d29313ad6d2ed675b5d5202240f4ff75970`\n(https://huggingface.co/datasets/NeuroTec/SWEC_iEEG_Dataset). Every source file\nwas verified against its Hugging Face LFS sha256 before conversion. Conversion is\nlossless: the float32 `data/ieeg` samples of the HDF5 part files are written\nunchanged, in part order, into one continuous BrainVision file per subject (no\nfiltering, resampling, re-referencing, scaling or channel removal), and the\n`data/seizures` onsets/offsets become `events.tsv` rows. The source holds no\ntiming information beyond this gap-free concatenation of parts.\nSubject crosswalk. `sub-NN` here is upstream patient NN. In the Hugging Face\nrelease the same patient is folder `ID{NN+18}` (e.g. `sub-07` = `ID25`,\n`sub-50` = `ID68`): the virtual-dataset index of every `IDxx_total.h5` still\npoints to `ID{xx-18}_part_*.h5`, and the 40 v1.0.0 subjects match folders\nID19-ID68 exactly in channel count, sampling rate, sample count and (for 39 of\n40) seizure table. The same converter reproduces 39 of the 40 v1.0.0 `.eeg`\nfiles byte-for-byte (sha256 identical) from the Hugging Face files. The\nexception is `sub-02` (see Corrections). The\n`participants.tsv` column `source_id` records the Hugging Face folder of each\nsubject.\nHugging Face folders ID01-ID18 are a second copy of 18 of these patients\n(ID01-ID18 = ID20, ID21, ID22, ID24, ID25, ID27, ID28, ID29, ID30, ID31, ID32,\nID34, ID35, ID36, ID37, ID38, ID39, ID40: identical channel count, sampling\nrate, sample count and seizure table; compressed signal chunks byte-identical\nwhere compared). They are not added again. The card's figures (68 subjects,\n9328 hours, 704 ictal events) count these 18 copies; the 50 distinct patients\ntotal 6672 hours and 460 annotated seizures.\n## Corrections in v1.1.0\n- `sub-02`: in the v1.0.0 file, 6 of the 20 source parts (parts 1, 6, 9, 14,\n  15 and 16; 170,454,540 samples, about 92.5 h) were all zeros. The source\n  holds real signal there (Hugging Face `ID20`); the other 14 parts are\n  identical. v1.1.0 replaces the file with the complete conversion, same size,\n  sampling rate and channels.\n- `sub-01`: v1.0.0 shipped no `events.tsv`. The Hugging Face release annotates\n  25 seizures for this patient (folder `ID19`), whose signal is byte-identical\n  to the v1.0.0 file. v1.1.0 adds them.\n## How to cite\nCarzaniga, F., Hersche, M., Sebastian, A., Schindler, K. & Rahimi, A.\n\"A foundation model with multi-variate parallel attention to generate neuronal\nactivity.\" arXiv:2506.20354 (2025). https://doi.org/10.48550/arXiv.2506.20354\nSWEC-ETHZ iEEG Database: http://ieeg-swez.ethz.ch/\n## License\nCommunity Data License Agreement – Permissive, Version 2.0 (CDLA-Permissive-2.0).\nThe Hugging Face dataset card (revision `584e9d29`) states:\n\"The iEEG SWEC dataset is licensed using the Community Data License Agreement –\nPermissive, Version 2.0\" and, under \"Disclaimer\": \"This dataset may only be used\nfor research. For other applications any liability is denied. In particular, the\ndataset must not be used for diagnostic purposes.\"","recording_modality":["ieeg"],"references_and_links":["https://doi.org/10.48550/arXiv.2506.20354","http://ieeg-swez.ethz.ch/","https://mb-neuro.medical-blocks.ch/public_access/databases/ieeg/swec_ieeg","https://huggingface.co/datasets/NeuroTec/SWEC_iEEG_Dataset"],"senior_author":"Abbas Rahimi","sessions":[],"sfreq_counts":[{"count":33,"val":1024.0},{"count":17,"val":512.0}],"size_bytes":5206284456061,"source":"nemar","source_datasets":[{"URL":"https://mb-neuro.medical-blocks.ch/public_access/databases/ieeg/swec_ieeg","Version":"public_access"},{"URL":"https://huggingface.co/datasets/NeuroTec/SWEC_iEEG_Dataset/tree/584e9d29313ad6d2ed675b5d5202240f4ff75970","Version":"584e9d29313ad6d2ed675b5d5202240f4ff75970"}],"stats_computed_at":"2026-10-22T09:54:07.650042+00:00","storage":{"backend":"nemar","base":"s3://nemar/nm000276","dep_keys":["CHANGES","README.md","events.json","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-06T13:13:11Z","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: the explicit phrases \"patients with pharmacoresistant epilepsy\" and \"epilepsy-surgery patients,\" together with the documented seizure annotations, decisively favor Epilepsy (0.9). Modality—No stimulus versus Unknown: \"passive, no task\" and \"continuous iEEG\" favor No stimulus; no presented sensory stimulus is described (0.8). Type—Clinical versus Resting-state: \"pre-surgical intracranial EEG,\" \"Annotated electrographic seizures: 381,\" and \"Seizure onsets/offsets annotated\" establish clinical seizure monitoring rather than a normative resting-state study (0.9). All selections align with the closest few-shot example.","evidence_alignment_check":"Pathology: Metadata says \"patients with pharmacoresistant epilepsy\" and refers to \"epilepsy-surgery patients\"; the epilepsy HFO example suggests Epilepsy. ALIGN. Modality: Metadata says \"passive, no task\" and \"5376 hours of continuous iEEG\"; the epilepsy HFO example suggests No stimulus for recordings without presented stimuli. ALIGN. Type: Metadata reports \"Annotated electrographic seizures: 381\" and epileptologist-annotated \"Seizure onsets/offsets\"; the epilepsy HFO example suggests Clinical for epilepsy-event detection. ALIGN. No metadata fact is overridden by a few-shot pattern.","few_shot_analysis":"The pediatric epilepsy HFO example is the closest match: recordings from patients with epilepsy are labeled Epilepsy, No stimulus, and Clinical when the focus is detecting epilepsy-related events rather than presenting a task. The dementia resting-EEG example also shows that a diagnostic monitoring dataset can be Clinical despite having no stimulus.","metadata_analysis":"The README describes \"pre-surgical intracranial EEG (iEEG) from patients with pharmacoresistant epilepsy.\" It reports \"Annotated electrographic seizures: 381\" and defines the task as \"ltm (long-term monitoring; passive, no task).\" It also says that \"Seizure onsets/offsets [were] annotated by [a] board-certified epileptologist.\"","paper_abstract_analysis":"No paper abstract is provided. The citation title mentions a foundation model but does not change the documented clinical population or passive recording paradigm."},"type":["Clinical"]},"tasks":["ltm"],"timestamps":{"dataset_created_at":null,"dataset_modified_at":"2026-10-16 11:26:06","digested_at":"2026-10-22T08:32:34.918143+00:00"},"total_duration_s":24020063.0,"total_files":50},"database":"eegdash","success":true}