- spindle_detection (legacy and modern): phase='N2'|'N3' searches only the
sleep windows of that stage (husos --fase); requires slow_wave_staging then.
- README: modules, requirements, use, tests and cluster verification.
- test_pipeline: both implementations register the same 5 processes and 9
biomarkers.
- 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.