spindle_detection and spindles, legacy and modern

- legacy: husos.detectar / husos.resumen vendored unchanged, run on the
  'sueno' windows as medidas_director does; the wake rhythm that sets the
  'rhythm near sigma' flag is computed inside the process (no biomarker
  dependency).
- modern: the same detector on MNE (sigma band-pass) and SciPy (Hilbert,
  Welch narrowness, phase stability); summary with the director's
  definitions; one baseline per feature.
- privacy.group_size understands per-feature baseline dicts.

Legacy equals the submodule's cluster route exactly (spindle count and the
six summary measures); modern equals legacy on the synthetic study.
This commit is contained in:
AlbertoPMDM
2026-11-18 20:57:24 -06:00
parent 1f8793aacb
commit f870ee9f14
27 changed files with 9923 additions and 0 deletions
+4
View File
@@ -34,6 +34,8 @@ preprocessing = "tea_modulo.legacy.preprocessing:MODULE"
annotation_mask = "tea_modulo.legacy.processes.annotation_mask:MODULE"
sleep_state = "tea_modulo.legacy.processes.sleep_state:MODULE"
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"
[project.entry-points."tea_modulo.modules"]
validation = "tea_modulo.validation:MODULE"
@@ -41,6 +43,8 @@ preprocessing = "tea_modulo.preprocessing:MODULE"
annotation_mask = "tea_modulo.processes.annotation_mask:MODULE"
sleep_state = "tea_modulo.processes.sleep_state:MODULE"
posterior_rhythm = "tea_modulo.biomarkers.posterior_rhythm:MODULE"
spindle_detection = "tea_modulo.processes.spindle_detection:MODULE"
spindles = "tea_modulo.biomarkers.spindles:MODULE"
[project.entry-points."tea_modulo.executors"]
legacy = "tea_modulo.legacy.executor:run_serial"