validation: modern validation on MNE/SciPy, agreeing with the director's

The director's rules (validacion.validar, preproceso.canales_malos,
lote.qc_estudio window QC, triaje.triar, cluster gates) rebuilt on MNE
(EDF reading, IIR filtering run by run, Welch PSD), SciPy and antropy (DFA).
All thresholds in rules.ValidationConfig with their sources; edfio header
checks (no silent resampling); R4B FHIR Bundle (private copy of the builder).

Agrees with legacy.validation on dropped channels, triage level and verdict
in every synthetic case; accepted differences (gaps as NaN, one notch, MNE
filter edges, no set-up detection) are documented and tested.
This commit is contained in:
AlbertoPMDM
2026-11-18 20:47:07 -06:00
parent e03b2f2326
commit fcd0f76d76
13 changed files with 979 additions and 0 deletions
+1
View File
@@ -36,6 +36,7 @@ sleep_state = "tea_modulo.legacy.processes.sleep_state:MODULE"
posterior_rhythm = "tea_modulo.legacy.biomarkers.posterior_rhythm:MODULE"
[project.entry-points."tea_modulo.modules"]
validation = "tea_modulo.validation:MODULE"
[project.entry-points."tea_modulo.executors"]
legacy = "tea_modulo.legacy.executor:run_serial"