Add files using upload-large-folder tool
Browse files- README.md +47 -43
- eesm23-in-ear-eeg.h5 +2 -2
- eesm23-scalp-eeg.h5 +2 -2
README.md
CHANGED
|
@@ -1,67 +1,71 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
tags:
|
| 4 |
- eeg
|
| 5 |
- sleep-staging
|
| 6 |
- in-ear-eeg
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
# EESM23-Processed
|
| 10 |
|
| 11 |
-
|
| 12 |
-
dataset — 10 subjects, 2 nights each (`ses-001`, `ses-002`), one 30-second
|
| 13 |
-
AASM scoring epoch per row (`Wake` / `N1` / `N2` / `N3` / `REM`; `Artefact`
|
| 14 |
-
epochs dropped). `sub-006/ses-002` PSG is skipped — the source `.set` file is
|
| 15 |
-
truncated on disk.
|
| 16 |
|
| 17 |
## Preprocessing
|
| 18 |
|
| 19 |
-
|
| 20 |
-
continuous recording before slicing into 30 s epochs (to avoid per-epoch
|
| 21 |
-
filter edge effects). Nothing else: **no re-referencing, no resampling, no
|
| 22 |
-
channel renaming**. Channel names are kept exactly as in the source BIDS
|
| 23 |
-
`channels.tsv`.
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
|
|
|
|
|
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
## Files
|
| 33 |
|
| 34 |
-
|
|
| 35 |
-
|---|---|---|---|
|
| 36 |
-
| `eesm23-in-ear-eeg.h5` |
|
| 37 |
-
| `eesm23-scalp-eeg.h5` |
|
| 38 |
|
| 39 |
Label distribution:
|
| 40 |
|
| 41 |
-
| | Wake | N1 | N2 | N3 | REM |
|
| 42 |
-
|---|---|---|---|---|---|
|
| 43 |
-
| in-ear |
|
| 44 |
-
| scalp |
|
| 45 |
|
| 46 |
-
|
| 47 |
|
| 48 |
-
```
|
| 49 |
-
/
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
/labels (N,) int64 index into attrs['class_names']
|
| 53 |
-
/subject (N,) str 'sub-001' ...
|
| 54 |
-
/session (N,) str 'ses-001' / 'ses-002'
|
| 55 |
-
/task (N,) str 'sleep'
|
| 56 |
-
/run (N,) str '' (unused, sessions are not run-qualified)
|
| 57 |
-
/trial_id (N,) int64 row index in the source scoring events.tsv
|
| 58 |
-
/ch_names (C,) str channel names, as in source BIDS channels.tsv
|
| 59 |
-
|
| 60 |
-
attrs: sfreq, n_class, class_names, unit ('uV'), eegfm_version,
|
| 61 |
-
source_bids_path, bids_dataset_name, preprocess_config_json, created_at
|
| 62 |
-
```
|
| 63 |
|
| 64 |
-
`
|
| 65 |
-
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc0-1.0
|
| 3 |
tags:
|
| 4 |
- eeg
|
| 5 |
- sleep-staging
|
| 6 |
- in-ear-eeg
|
| 7 |
+
- scalp-eeg
|
| 8 |
+
- hdf5
|
| 9 |
---
|
| 10 |
|
| 11 |
# EESM23-Processed
|
| 12 |
|
| 13 |
+
Processed HDF5 export of the [EESM23 OpenNeuro dataset](https://doi.org/10.18112/openneuro.ds005178.v1.0.0). It contains paired in-ear EEG and scalp EEG sleep-staging samples from the scored `ses-001` and `ses-002` recordings of 10 subjects.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
## Preprocessing
|
| 16 |
|
| 17 |
+
Generated with `Ear-EEG-FM-Benchmark/dataset/preprocess_eesm23.py` using schema/eegfm version `0.4.0`:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
- 0.1–100 Hz band-pass and 50 Hz notch filtering on each continuous recording
|
| 20 |
+
- no re-referencing, resampling, or channel renaming
|
| 21 |
+
- each labeled 30-second AASM scoring event is split into seven non-overlapping 4-second windows; the final 2 seconds are unused
|
| 22 |
+
- classes: `Wake`, `N1`, `N2`, `N3`, `REM`; `Artefact` events are dropped
|
| 23 |
+
- windows containing non-finite samples are dropped
|
| 24 |
+
- all signal values are stored as `float32` microvolts at 250 Hz
|
| 25 |
|
| 26 |
+
Brief device data-loss gaps are interpolated before filtering to prevent FIR-kernel contamination, after which the original NaN positions are restored before window selection.
|
| 27 |
|
| 28 |
## Files
|
| 29 |
|
| 30 |
+
| File | Channels | Shape `(N, C, T)` | Size |
|
| 31 |
+
|---|---|---:|---:|
|
| 32 |
+
| `eesm23-in-ear-eeg.h5` | RB, RT, LB, LT | `(111594, 4, 1000)` | 1.70 GiB |
|
| 33 |
+
| `eesm23-scalp-eeg.h5` | M1, F3, C3, O1, M2, F4, C4, O2 | `(95339, 8, 1000)` | 2.88 GiB |
|
| 34 |
|
| 35 |
Label distribution:
|
| 36 |
|
| 37 |
+
| Modality | Wake | N1 | N2 | N3 | REM |
|
| 38 |
+
|---|---:|---:|---:|---:|---:|
|
| 39 |
+
| in-ear | 9,725 | 9,268 | 52,746 | 17,983 | 21,872 |
|
| 40 |
+
| scalp | 8,203 | 7,898 | 45,010 | 15,645 | 18,583 |
|
| 41 |
|
| 42 |
+
Source-data notes:
|
| 43 |
|
| 44 |
+
- `sub-006/ses-002` PSG is skipped because the source `.set` file is truncated and cannot be read.
|
| 45 |
+
- `sub-002/ses-001` and `sub-007/ses-002` PSG yield no windows after the non-finite-sample quality rule.
|
| 46 |
+
|
| 47 |
+
## HDF5 schema (v0.4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
+
```text
|
| 50 |
+
/data (N, C, 1000) float32
|
| 51 |
+
/durations (N,) int64
|
| 52 |
+
/nan_fraction (N,) float32
|
| 53 |
+
/labels (N,) int64
|
| 54 |
+
/sample_id (N,) int64
|
| 55 |
+
/subject (N,) string
|
| 56 |
+
/session (N,) string
|
| 57 |
+
/task (N,) string
|
| 58 |
+
/acquisition (N,) string
|
| 59 |
+
/run (N,) string
|
| 60 |
+
/recording_id (N,) string
|
| 61 |
+
/trial_id (N,) int64
|
| 62 |
+
/event_id (N,) int64
|
| 63 |
+
/split_group_id (N,) int64
|
| 64 |
+
/window_start_sample (N,) int64
|
| 65 |
+
/window_stop_sample (N,) int64
|
| 66 |
+
/ch_names (C,) string
|
| 67 |
```
|
| 68 |
+
|
| 69 |
+
`event_id` and `split_group_id` identify the source 30-second scoring row. Keep all windows sharing a split group together when constructing train/validation/test partitions.
|
| 70 |
+
|
| 71 |
+
Important attributes include `sfreq`, `class_names`, `unit`, `eegfm_version`, `preprocess_config_json`, `split_group_kind`, and `window_reference`.
|
eesm23-in-ear-eeg.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9fc0b2b7d97a3f6248a1cccea67043095f8e98ae4388b60097b527e45890f193
|
| 3 |
+
size 1828928328
|
eesm23-scalp-eeg.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34de1fc13780a9de42cb1079137785a686c6f997db2c1dc64e1f927c33076396
|
| 3 |
+
size 3088115976
|