slow_wave_staging and slow_waves, legacy and modern

- legacy: ondas_lentas.detectar on F3 F4 Fz over the whole recording,
  union_intervalos + estadificar for the 'sueno' windows (the cluster
  route's fases_sueno), ondas_lentas.resumen for the features; vendored
  unchanged.
- modern: the same zero-crossing detector on an MNE band-pass, the same 20%
  of 30 s N3 rule, the same summary definitions.

Legacy waves equal the submodule's exactly; modern equals legacy on the
synthetic study; contract suites pass.
This commit is contained in:
AlbertoPMDM
2026-11-18 21:47:39 -06:00
parent ae92ae8b17
commit 4987629e8b
25 changed files with 9159 additions and 0 deletions
+2
View File
@@ -44,6 +44,8 @@ MANIFEST: dict[str, tuple[str, tuple[str, ...]]] = {
"processes/spindle_detection": ("preproceso", ("eeg_io", "husos", "ritmo")),
"biomarkers/spindles": ("preproceso", ("husos",)),
"biomarkers/gradient": ("preproceso", ("eeg_io", "gradiente")),
"processes/slow_wave_staging": ("preproceso", ("eeg_io", "ondas_lentas")),
"biomarkers/slow_waves": ("preproceso", ("ondas_lentas",)),
}
SYS_PATH_LINE = "sys.path.insert(0, str(Path(__file__).resolve().parent))"