aperiodic and mse, legacy and modern

- The cluster route's 2 s window table (ventanas.cortar + estado_director
  exclusions and labels) rebuilt from the contract, one private copy per
  module.
- legacy: biomarcadores espectro.py, aperiodico.py (FOOOF with Wilkinson's
  modifications) and complejidad.py copied unchanged; exponent per region
  and state (NaN under 20 windows or R2 < 0.9); MSE fine / coarse / total.
- modern: MNE multitaper + fooof with the same two Wilkinson modifications;
  antropy sample entropy with Costa's fixed tolerance.

Copies byte-identical to the submodule; modern within 2% (exponent) and 1%
(MSE) of legacy on the synthetic study; contract suites pass.
This commit is contained in:
AlbertoPMDM
2026-11-18 21:52:22 -06:00
parent 4987629e8b
commit 4deba99c92
24 changed files with 2166 additions and 1 deletions
+4
View File
@@ -39,6 +39,8 @@ 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"
aperiodic = "tea_modulo.legacy.biomarkers.aperiodic:MODULE"
mse = "tea_modulo.legacy.biomarkers.mse:MODULE"
[project.entry-points."tea_modulo.modules"]
validation = "tea_modulo.validation:MODULE"
@@ -51,6 +53,8 @@ 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"
aperiodic = "tea_modulo.biomarkers.aperiodic:MODULE"
mse = "tea_modulo.biomarkers.mse:MODULE"
[project.entry-points."tea_modulo.executors"]
legacy = "tea_modulo.legacy.executor:run_serial"