Commit Graph

3 Commits

Author SHA1 Message Date
AlbertoPMDM 04b314ed8b tests: synthetic EDF+ builder (no patient data)
Step 3 of the plan. Spatially mixed pink noise, posterior rhythm in wake,
frontal slow waves and 13 Hz spindles in sleep, blinks, EKG, mains line,
channel faults (flat, frozen, clipped, bridge, loud, bursts) and
BAD_ACQ_SKIP gaps, written like ktlx2edf. Read by MNE and by the director's
edf_convert.leer_edf.
2026-11-18 19:56:35 -06:00
AlbertoPMDM 2b4bea0c7f export: optional KTLX -> EDF+ exporter vendored from eeg@92bc2a0
Step 2 of the plan. src/eeg/utils copied into tea_modulo.export with only the
imports changed; outside the EDF pipeline (extra `export`, script ktlx2edf).
Synthetic tests (ktlx_synth, edf export, patient) carried over: 43 pass.
2026-11-18 19:54:48 -06:00
AlbertoPMDM 449acf8b44 contracts: shared data classes, protocols and contract test suites
Step 1 of the tea_modulo plan: Recording (MNE Raw from EDF), ValidationSummary,
Preprocessed, Labels, Study, the Validator/Preprocessor/Process/Biomarker
protocols with check_module(), reusable contract suites in contracts.testing,
and an AST test that enforces the module boundary rule.
2026-11-18 19:54:15 -06:00