legacy: annotation_mask, sleep_state and posterior_rhythm on the director's code
- contracts: Preprocessed.quality_spans (QC-unclean stretches at the QC's own resolution), so the director's state mask can be rebuilt exactly. - legacy.preprocessing: annotations straight from the EDF (exact onsets, as edf_convert), quality_spans from his 4 s QC. - legacy processes annotation_mask (intervalos_estado, estado_de_ventana) and sleep_state (vigilancia.rasgos with senal._mascara_excluir's mask, clasificar with the HK1K cut-offs or cohort cut-offs after train()). - legacy biomarker posterior_rhythm (medidas_director.ritmo on ritmo.psd_de_ventanas + pico_dominante) with a private _baseline.py holding curvas.py and perfil_alteraciones' age-block z, copied verbatim. - Each legacy module owns its adapter, which writes the study in the director's preprocessed format and opens it with his eeg_io.Estudio. Identical to the submodule's cluster route on a synthetic study (window labels and rhythm); contract suites pass.
This commit is contained in:
@@ -38,6 +38,9 @@ PINNED = {"biomarcadores-tea": "7dfc641"}
|
||||
MANIFEST: dict[str, tuple[str, tuple[str, ...]]] = {
|
||||
"validation": ("preproceso", ("edf_convert", "lote", "triaje", "preproceso")),
|
||||
"preprocessing": ("preproceso", ("edf_convert", "lote", "preproceso")),
|
||||
"processes/annotation_mask": ("preproceso", ("eeg_io", "seleccion")),
|
||||
"processes/sleep_state": ("preproceso", ("eeg_io", "seleccion", "vigilancia")),
|
||||
"biomarkers/posterior_rhythm": ("preproceso", ("eeg_io", "ritmo")),
|
||||
}
|
||||
|
||||
SYS_PATH_LINE = "sys.path.insert(0, str(Path(__file__).resolve().parent))"
|
||||
|
||||
Reference in New Issue
Block a user