coupling, legacy and modern

- legacy: acoplamiento.fases_de_estudio + resumen (vendored unchanged);
  spindle and slow-wave events read through the contract columns, so
  either detector can feed it; in_slow_wave = --solo-en-onda.
- modern: slow-oscillation phase (MNE 0.5-2 Hz, scipy Hilbert, per run) at
  the sigma-envelope peak of each spindle; R from 200 subsamples of 30,
  excess over the chance floor, preferred angle, raw R.

Modern within 0.03 of legacy; phase-locked synthetic spindles give R > 0.8
at the trough in both; contract suite passes.
This commit is contained in:
AlbertoPMDM
2026-11-18 21:55:30 -06:00
parent 406944e134
commit d21ace9aea
18 changed files with 6228 additions and 0 deletions
+2
View File
@@ -41,6 +41,7 @@ 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"
coupling = "tea_modulo.legacy.biomarkers.coupling:MODULE"
[project.entry-points."tea_modulo.modules"]
validation = "tea_modulo.validation:MODULE"
@@ -55,6 +56,7 @@ 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"
coupling = "tea_modulo.biomarkers.coupling:MODULE"
[project.entry-points."tea_modulo.executors"]
legacy = "tea_modulo.legacy.executor:run_serial"