Add files using upload-large-folder tool
Browse files- README.md +33 -12
- eesm23-in-ear-eeg.h5 +2 -2
- eesm23-scalp-eeg.h5 +2 -2
README.md
CHANGED
|
@@ -14,13 +14,18 @@ Processed HDF5 export of the [EESM23 OpenNeuro dataset](https://doi.org/10.18112
|
|
| 14 |
|
| 15 |
## Preprocessing
|
| 16 |
|
| 17 |
-
Generated with `Ear-EEG-FM-Benchmark/dataset/preprocess_eesm23.py` using schema/eegfm version `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 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.
|
|
@@ -29,27 +34,43 @@ Brief device data-loss gaps are interpolated before filtering to prevent FIR-ker
|
|
| 29 |
|
| 30 |
| File | Channels | Shape `(N, C, T)` | Size |
|
| 31 |
|---|---|---:|---:|
|
| 32 |
-
| `eesm23-in-ear-eeg.h5` | RB, RT, LB, LT | `(
|
| 33 |
-
| `eesm23-scalp-eeg.h5` | M1, F3, C3, O1, M2, F4, C4, O2 | `(
|
| 34 |
|
| 35 |
Label distribution:
|
| 36 |
|
| 37 |
-
|
|
| 38 |
-
|---
|
| 39 |
-
|
|
| 40 |
-
| scalp | 8,203 | 7,898 | 45,010 | 15,645 | 18,583 |
|
| 41 |
|
| 42 |
-
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
|
|
|
|
|
|
| 46 |
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|
|
|
|
| 14 |
|
| 15 |
## Preprocessing
|
| 16 |
|
| 17 |
+
Generated with `Ear-EEG-FM-Benchmark/dataset/preprocess_eesm23.py` using schema/eegfm version `0.5.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 |
+
- real sensor/data-loss NaN/Inf samples are preserved and recorded in overall
|
| 24 |
+
and per-channel quality fields
|
| 25 |
+
- the ear-EEG and scalp outputs are strictly row-aligned; a session is excluded
|
| 26 |
+
from both when either modality is missing/unreadable, and a window is retained
|
| 27 |
+
only when it exists in both modalities
|
| 28 |
+
- recording bounds are checked separately for every 4-second window
|
| 29 |
- all signal values are stored as `float32` microvolts at 250 Hz
|
| 30 |
|
| 31 |
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.
|
|
|
|
| 34 |
|
| 35 |
| File | Channels | Shape `(N, C, T)` | Size |
|
| 36 |
|---|---|---:|---:|
|
| 37 |
+
| `eesm23-in-ear-eeg.h5` | RB, RT, LB, LT | `(108673, 4, 1000)` | 1.66 GiB |
|
| 38 |
+
| `eesm23-scalp-eeg.h5` | M1, F3, C3, O1, M2, F4, C4, O2 | `(108673, 8, 1000)` | 3.28 GiB |
|
| 39 |
|
| 40 |
Label distribution:
|
| 41 |
|
| 42 |
+
| Wake | N1 | N2 | N3 | REM |
|
| 43 |
+
|---:|---:|---:|---:|---:|
|
| 44 |
+
| 9,631 | 9,044 | 51,302 | 17,458 | 21,238 |
|
|
|
|
| 45 |
|
| 46 |
+
## Retained and discarded windows
|
| 47 |
|
| 48 |
+
The source scoring files define 119,518 potential 4-second windows, of which
|
| 49 |
+
115,906 carry one of the five retained sleep-stage labels and 3,612 are labeled
|
| 50 |
+
`Artefact`. The final files contain 108,673 strictly paired windows per
|
| 51 |
+
modality. The exclusions are:
|
| 52 |
|
| 53 |
+
| Reason | Windows |
|
| 54 |
+
|---|---:|
|
| 55 |
+
| `Artefact` label (outside the five-class task) | 3,612 |
|
| 56 |
+
| Entire `sub-006/ses-002` pair: truncated/unreadable PSG | 7,217 |
|
| 57 |
+
| `sub-002/ses-001`: PSG window has no in-bounds ear-EEG partner | 15 |
|
| 58 |
+
| `sub-010/ses-002`: PSG window has no in-bounds ear-EEG partner | 1 |
|
| 59 |
+
| **Total excluded, including `Artefact`** | **10,845** |
|
| 60 |
+
|
| 61 |
+
Among the five-class candidates, 7,233 windows are excluded by recording
|
| 62 |
+
availability or strict pairing. No window is excluded because it contains
|
| 63 |
+
NaN/Inf. The final files retain 3,491 in-ear windows and 13,328 scalp windows
|
| 64 |
+
with at least one non-finite sample; their indices remain paired even when
|
| 65 |
+
quality differs between modalities.
|
| 66 |
+
|
| 67 |
+
## HDF5 schema (v0.5)
|
| 68 |
|
| 69 |
```text
|
| 70 |
/data (N, C, 1000) float32
|
| 71 |
/durations (N,) int64
|
| 72 |
/nan_fraction (N,) float32
|
| 73 |
+
/channel_nan_fraction (N, C) float32
|
| 74 |
/labels (N,) int64
|
| 75 |
/sample_id (N,) int64
|
| 76 |
/subject (N,) string
|
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:2112ee1ec836b00206c9554afb899d4d1d790687a56ce4f0383e0f44a168cb49
|
| 3 |
+
size 1782963240
|
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:380c18555fcbbe016aa74a0cca557a2e75bf65013037144303e018e345d947f5
|
| 3 |
+
size 3523484392
|