{"data":{"_id":"6b10b85c99234db870ed59b6","associated_paper_doi":null,"authors":["Chaudhary, Ujwal"],"bad_channels_info":null,"bids_version":"1.10.0","canonical_name":null,"computed_title":"A Dataset of neurophysiological measurements of patients with completely locked-In syndrome","contact_info":null,"contributing_labs":null,"data_processed":false,"dataset_doi":"10.82901/nemar.nm000764","dataset_id":"nm000764","datatypes":["eeg","fnirs"],"demographics":{"age_max":null,"age_mean":null,"age_min":null,"ages":[],"handedness_distribution":null,"sex_distribution":null,"species":null,"subjects_count":4},"ethics_approvals":["The Internal Review Board of the Medical Faculty of the University of Tubingen approved the experiment reported in this study."],"experimental_modalities":null,"external_links":{"github_url":null,"osf_url":null,"paper_url":null,"source_url":"https://nemar.org/dataexplorer/detail/nm000764"},"funding":[],"generated_by":[{"CodeURL":"https://github.com/nemarDatasets/nm000764/tree/main/code","Description":"Conversion of the public release to BIDS-NIRS","Name":"fnirs_bids converter (ieeg-discovery-agent, scripts/fnirs_bids)","Version":"ee5138b20f"},{"CodeURL":"https://github.com/eegdash/ieeg-discovery-agent/tree/fnirs-modal-1108/scripts/fnirs_modal","Description":"Adds the EEG recordings of the same public release to this NEMAR deposit (BIDS 1.10 datatypes; fNIRS files unchanged).","Name":"fnirs_modal modality complement (ieeg-discovery-agent, scripts/fnirs_modal)","Version":"439e3f3de7"}],"how_to_acknowledge":"Please cite the dataset: Chaudhary, Ujwal (2021). \"A Dataset of neurophysiological measurements of patients with completely locked-In syndrome\". Zenodo, https://doi.org/10.5281/zenodo.4501988, the related study: Khalili-Ardali et al. (2021), Clinical Neurophysiology, https://doi.org/10.1016/j.clinph.2021.01.013, and this NEMAR deposit.","ingestion_fingerprint":"0c2876f1e31eb4806b83e8f864e7f37ca890a780ef4a645919765f183b2d673b","license":"CC-BY-4.0","n_contributing_labs":null,"n_records":16,"name":"A Dataset of neurophysiological measurements of patients with completely locked-In syndrome","nchans_counts":[{"count":8,"val":96},{"count":6,"val":14},{"count":2,"val":13}],"readme":"[![DOI](https://img.shields.io/badge/DOI-10.82901%2Fnemar.nm000764-blue)](https://doi.org/10.82901/nemar.nm000764)\n# A Dataset of neurophysiological measurements of patients with completely locked-In syndrome\nIn short: fNIRS, EEG, EOG and EMG during BCI sessions in completely locked-in patients with ALS (Chaudhary 2021).\nNEMAR BIDS conversion of a subset of the public Zenodo release 10.5281/zenodo.4501988 (CC-BY-4.0): this deposit includes eight paired EEG (BrainVision) and eight paired fNIRS (SNIRF) BCI recordings (16 recordings total across 4 participants and 6 sessions), not the entire source archive (34 EEG-only recordings and other files remain at the source Zenodo record). Please cite the dataset DOI and related study.\n## Original description (repository metadata, shortened)\nThe dataset used for the psychophysiological assessment of four patients with amyotrophic lateral sclerosis (ALS) at advanced stages of the diseases with no means of communication, referred to as complete locked-in syndrome (CLIS). These datasets contain electroencephalogram (EEG), [...]\n## Citation and contact\nDataset citation (dataset DOI): Chaudhary, Ujwal (2021). \"A Dataset of neurophysiological measurements of patients with completely locked-In syndrome\". Zenodo, https://doi.org/10.5281/zenodo.4501988 (concept record https://zenodo.org/record/4501987). Related study (paper DOI, distinct from the dataset DOI): Khalili-Ardali et al. (2021), Clinical Neurophysiology, https://doi.org/10.1016/j.clinph.2021.01.013. This deposit is a signal-identical BIDS conversion of the eight paired EEG and eight paired fNIRS BCI recordings from that release, not the entire source archive.\n## Source\n- Repository: zenodo (zenodo:4501987)\n- Dataset DOI: https://doi.org/10.5281/zenodo.4501988\n- URL: https://zenodo.org/record/4501987\n- Creators (repository metadata): Chaudhary, Ujwal\n- Publication year: 2021\n- Licence stated by the source: CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/legalcode)\n- Related study (paper DOI, distinct from the dataset DOI 10.5281/zenodo.4501988): https://doi.org/10.1016/j.clinph.2021.01.013 (Khalili-Ardali et al., 2021, Clinical Neurophysiology, \"Neurophysiological aspects of the completely locked-in syndrome in patients with advanced amyotrophic lateral sclerosis\")\n## Licence and ethics status (2026-12-02)\n- Licence recorded for this deposit: CC-BY-4.0, matching the pinned author Zenodo record 10.5281/zenodo.4501988, which explicitly licenses the source CC-BY-4.0.\n- Ethics approvals recorded in dataset_description.json: The Internal Review Board of the Medical Faculty of the University of Tubingen approved the experiment reported in this study.\n## At a glance\n- 4 participant(s); 6 session(s); 16 BCI recordings (8 paired fNIRS SNIRF recordings and 8 paired EEG BrainVision recordings; subset of the source archive, not the entire Zenodo archive); task(s): BCI; fNIRS device (sidecar): NIRx Medizintechnik GmbH NIRSport 8x8 Tandem (3.47222 Hz); EEG sampling 500 Hz (conversion is signal-identical; details in Conversion below).\n## Contents of this copy\n- Recordings converted: 16 paired BCI recordings total — 8 fNIRS SNIRF recordings (4.61 h) and 8 paired EEG BrainVision recordings (4.734 h) across 4 participants and 6 sessions. This conversion does not include the entire source archive (34 EEG-only recordings and auxiliary files remain at the source Zenodo record).\n- This copy in numbers: 4 participants (sub-01, sub-04, sub-09, sub-17); 6 sessions (sub-01 ses-1; sub-04 ses-1 and ses-2; sub-09 ses-1; sub-17 ses-1 and ses-2); 16 recordings, all task BCI: 8 fNIRS recordings (SNIRF, 96 channels each = 48 source-detector pairs x 2 wavelengths, 3.47 Hz) and 8 EEG recordings (BrainVision, 500 Hz; 7 EEG, 2 EMG and 4 EOG channels each, plus 1 MISC channel in 6 of them). Runs per session: sub-04 ses-2 and sub-09 ses-1 have runs 1 and 2, every other session run 1.\n- Converted modalities: the 8 NIRx fNIRS BCI recordings and the 8 paired BrainVision EEG BCI recordings from the same BCI blocks; other source files remain at the Zenodo source record.\n- Other files in the release, not converted (file type: count, from the census inventory): {'eeg': 42, 'vhdr': 42, 'vmrk': 42, 'mat': 30, 'ds_store': 27, 'nosatflags_wl2': 7, 'nosatflags_wl1': 7, 'pdf': 4}. They stay available from the source repository.\n- Tasks (BIDS task labels): BCI.\n- Device (census): NIRx.\n- Wavelengths (census, nm): 760; 850.\n- Signal type (census): raw CW intensity (NIRx .wl1/.wl2).\n- BIDS channel types in the converted files (channel count over all runs): {'NIRSCWAMPLITUDE': 768}. channels.tsv units are n/a unless the SNIRF file states a dataUnit.\n## Participants\n- participants.tsv lists the 4 converted subjects. No per-subject demographic table was found in the release, so only participant_id is given.\n- Census value, population: clinical: amyotrophic lateral sclerosis (source: metadata text).\n## Conversion\n- NIRx exports (.hdr + .wl1/.wl2) were written to SNIRF 1.1: channels are the S-D-Mask pairs in S-D-Key order, time = sample index / SamplingRate, events from the header marker table (or .evt file); durations are n/a.\n- Subject labels: plain source codes are kept; other source codes (names, initials, dates in folder names) are replaced by p###. The source-file -> BIDS mapping is kept by the depositor and not included.\n- No signal was filtered, resampled, cropped or rescaled. The conversion was checked by re-reading every output SNIRF and comparing samples, time vector and channel list with the source file (all equal), and by counting events independently in the source.\n- Notes from the readers: 1 trailing line(s) with another column count (end marker) dropped from .wl files; NIRx export: events from hdr; positions (probeInfo.mat) not converted.\n## Optode positions\n- The converted recording files carry no optode positions. Probe layouts or positions kept in other files of the release (for example probeInfo.mat or layout files) are not converted; optodes.tsv lists the optodes with n/a coordinates.\n- Census position class: (c) 2D layout only.\n## Events\n- 1770 events over all runs, one events.tsv per run with events; trial_type is the stimulus name in the source file.\n- Condition labels found by the census: 1; 10; 11; 15; 2; 4; 5; 6; 8; 9; 14; 12.\n## Known gaps\n- every NIRStar .wl1/.wl2 file ends with one extra line holding the single value -1.000000e+00 (end-of-recording trailer, not a sample); it is not converted.\n- nosatflags_wl*, .dat, .avg (NIRStar derived files) next to some recordings are not converted.\n- The EEG of the BCI blocks with fNIRS is included (section 'EEG (added to this copy)'); the other modalities and EEG-only recordings in the patient archives are outside this conversion.\n- BCI folder layout D<k>/NIRS/S<m>: D taken as session (day), S as run; their meaning is not stated beyond the folder names.\n## EEG (added to this copy)\n- The patient archives (P01, P04, P09, P17) hold BrainVision EEG recorded with the fNIRS during the BCI sessions (folder BCI/D<day>/EEG/S<block>, next to BCI/D<day>/NIRS/S<block>). The 8 EEG recordings of the BCI blocks that have an fNIRS recording in this copy (4 subjects) were added under sub-*/ses-*/eeg/ as task BCI with the session and run of the fNIRS file (day = session, block = run, as in the fNIRS conversion). Total duration 4.734 h; sampling rate 500.0 Hz.\n- Not added (34 recordings): EEG-only recordings of the archives (auditory and somatosensory evoked potentials, sleep, rest) and BCI blocks without an fNIRS recording in this copy. They stay in the source release.\n- The .eeg signal files are the release's bytes (checked for all 8 files); header and marker files were rewritten only for the BIDS file names and the 'New Segment' timestamps (the convention of this copy).\n- Channels (counts over all recordings): {'eeg': 56, 'emg': 16, 'eog': 32, 'misc': 6}; channels labelled EOG* and EMG* are typed EOG and EMG, a channel labelled NA is MISC, all others EEG. Units: microvolts as stated in the BrainVision headers (MNE reads volts). Median absolute EEG value per recording 23.0-58.0 microvolts; median absolute deviation from the channel median 16.5-54.0 microvolts; median sample-to-sample change 7.5-31.0 microvolts (first 60 s).\n- Events: the BrainVision markers of each recording (events.tsv). Sync with the fNIRS events of the same block ('Stimulus' markers against the fNIRS events.tsv onsets, one constant offset per run, tolerance 0.1 s or 1.5 fNIRS samples, whichever is larger): 7 shared, 1 none. Not shared: sub-04 ses-1 task-BCI run-1 (none: 36 of 82 events matched). Per-run numbers are in code/modalities/eeg_report.json.\n- PowerLineFrequency: from the EEG spectrum of each recording (50 vs 60 Hz peak; n/a where neither stands out; numbers in code/modalities/eeg_report.json); EEGReference: not stated in the release (n/a).\n## Source data, code and quality checks (version 1.0.2)\n- sourcedata/: not included in this copy. The original release files (zenodo_4501987) stay available from the source record (SourceDatasets); the conversion code in code/ reads them from a local download.\n- code/: the conversion code and inputs used for this copy, run.sh to reproduce it from sourcedata/, review and gate reports.\n- code/processing/: one-command fNIRS processing (`python code/processing/fnirs_pipeline.py --config code/processing/config.py`), see code/processing/README.\n- code/qc/: unit check OK; channel layout VARIES, 0 outlier recordings.\n## Paper and verification\n- Paper: Majid Khalili‐Ardali (first author) (2021). Neurophysiological aspects of the completely locked-in syndrome in patients with advanced amyotrophic lateral sclerosis. Clinical Neurophysiology. https://doi.org/10.1016/j.clinph.2021.01.013\n- Relationship to dataset DOI 10.5281/zenodo.4501988: related study (paper DOI 10.1016/j.clinph.2021.01.013, distinct from the dataset DOI; data statement: no direct link to the Zenodo record in the article text, the Zenodo record (k 9) describes the same 4 CLIS patients, four-day visit, EEG/EOG/fNIRS, BCI a [...]; N: 4 patients in CLIS (plus 10 healthy EEG controls) / deposit Current exact main: 4 subjects; nirs8, eeg8; task: simultaneous EEG and fNIRS recordings in a BCI experiment on two days / deposit Current tasks {\"BCI\": 8}; device: EEG BrainAmp only; fNIRS device not described / deposit Current NIRS metadata: {\"Manufacturer\": {\"NIRx Medizintechnik GmbH\": 8}, \"ManufacturersModelName [...]; authors: Khalili-Ardali M. et al. (Clin Neurophysiol 2021), Tuebingen group / deposit Authors: Chaudhary, Ujwal (Zenodo creator)).\n- Checked against this deposit at commit f09d3df1c2bd (match in code/paper_match/match.json; every fact with deposit value, paper value, verdict, quote and source/page in code/paper_match/MATCH.md).\n- No copy of the paper in this deposit: the licence of the available copy (tdm-only) does not allow redistribution; citation and short quotes only.\n- Agrees (3): participants.n (4); eeg.make (Brain Products); eeg.sampling_rate_hz (500).\n- Filled in from the paper (2): EthicsApprovals = The Internal Review Board of the Medical Faculty of the University of Tubingen approved the experiment reported in this [...] in dataset_description.json (doi:10.1016/j.clinph.2021.01.013, Ethical approval, paragraph 27); ReferencesAndLinks = https://doi.org/10.1016/j.clinph.2021.01.013 in dataset_description.json (the paper).\n- Stated by the paper, not in the BIDS metadata of this deposit (documented in MATCH.md, not written into data or participant files) (2): participants.population (patients: amyotrophic lateral sclerosis in completely locked-in state (CLIS)); eeg.model (BrainAmp).\n- Disagrees (0): nothing.\n- Ethics (paper): \"The Internal Review Board of the Medical Faculty of the University of Tubingen approved the experiment reported in this study.\" (doi:10.1016/j.clinph.2021.01.013, Ethical approval, paragraph 27); consent: \"The patient or the patients’ legal representative gave informed consent with permission to publish the data.\".\n## Privacy / sourcedata note\nRaw vendor archives under `sourcedata/` (and auxiliary QC PNG plots) were omitted from this public NEMAR release to ensure zero participant names, free-text identifiers, or raw recording timestamps remain in the repository. All BIDS neural recordings are preserved; original source files remain available at the upstream DOI listed in `SourceDatasets`.\n## SNIRF container notes\n- Optode positions are stored as NaN in the SNIRF probe: the conversion kept only positions stored inside the original recording files, and these carried none (earlier versions of these files held zeros, which are not positions). Positions kept elsewhere in the original release (for example probe or layout files) may still be recovered.\n- All 8 files open with `mne.io.read_raw_snirf` (MNE-Python 1.13.2) and pass the pysnirf2 validator; the data arrays are identical to the previous version.","recording_modality":["eeg","fnirs"],"references_and_links":["https://doi.org/10.5281/zenodo.4501988","https://zenodo.org/record/4501987","https://doi.org/10.1016/j.clinph.2021.01.013"],"senior_author":"Chaudhary, Ujwal","sessions":["1","2"],"sfreq_counts":[{"count":8,"val":500.0},{"count":7,"val":3.472222},{"count":1,"val":3.4722219999999995}],"size_bytes":282615426,"source":"nemar","source_datasets":[{"DOI":"10.5281/zenodo.4501988","URL":"https://zenodo.org/record/4501987"}],"stats_computed_at":"2026-12-03T00:31:30.185263+00:00","storage":{"backend":"nemar","base":"s3://nemar/nm000764","dep_keys":["CHANGES","LICENSE","README.md","participants.json","participants.tsv","task-BCI_events.json"],"raw_key":"dataset_description.json"},"study_design":null,"study_domain":null,"tasks":["BCI"],"timestamps":{"dataset_created_at":null,"dataset_modified_at":"2026-12-02 19:02:02","digested_at":"2026-12-03T00:18:35.808386+00:00"},"total_duration_s":33641.56906225466,"total_files":16},"database":"eegdash","success":true}