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
+4
View File
@@ -37,6 +37,8 @@ posterior_rhythm = "tea_modulo.legacy.biomarkers.posterior_rhythm:MODULE"
spindle_detection = "tea_modulo.legacy.processes.spindle_detection:MODULE"
spindles = "tea_modulo.legacy.biomarkers.spindles:MODULE"
gradient = "tea_modulo.legacy.biomarkers.gradient:MODULE"
slow_wave_staging = "tea_modulo.legacy.processes.slow_wave_staging:MODULE"
slow_waves = "tea_modulo.legacy.biomarkers.slow_waves:MODULE"
[project.entry-points."tea_modulo.modules"]
validation = "tea_modulo.validation:MODULE"
@@ -47,6 +49,8 @@ posterior_rhythm = "tea_modulo.biomarkers.posterior_rhythm:MODULE"
spindle_detection = "tea_modulo.processes.spindle_detection:MODULE"
spindles = "tea_modulo.biomarkers.spindles:MODULE"
gradient = "tea_modulo.biomarkers.gradient:MODULE"
slow_wave_staging = "tea_modulo.processes.slow_wave_staging:MODULE"
slow_waves = "tea_modulo.biomarkers.slow_waves:MODULE"
[project.entry-points."tea_modulo.executors"]
legacy = "tea_modulo.legacy.executor:run_serial"