gradient, legacy and modern

- legacy: medidas_director.gradiente on gradiente.analizar (vendored), in
  the 'sueno' and 'somnolencia' windows as analizar_director does.
- modern: Hann periodograms per window (MNE), median band power, Theil-Sen
  slope (scipy.stats.theilslopes) on the director's front-back coordinates.
- 8 features gradient_<band>_<state>, one baseline each.

Legacy equals the submodule's cluster route exactly; modern within 0.01 of
legacy on the synthetic study.
This commit is contained in:
AlbertoPMDM
2026-11-18 21:44:52 -06:00
parent e1ab9fac32
commit ae92ae8b17
6 changed files with 331 additions and 2 deletions
+2
View File
@@ -36,6 +36,7 @@ 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"
gradient = "tea_modulo.legacy.biomarkers.gradient:MODULE"
[project.entry-points."tea_modulo.modules"]
validation = "tea_modulo.validation:MODULE"
@@ -45,6 +46,7 @@ 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"
gradient = "tea_modulo.biomarkers.gradient:MODULE"
[project.entry-points."tea_modulo.executors"]
legacy = "tea_modulo.legacy.executor:run_serial"