ef2f3dbf39
- legacy: seleccion.seleccionar and candidatos_punta.de_estudio + indicadores vendored unchanged, run on the contract adapter with the sleep_state labels as the vigilancia table. - modern: the director's detector functions copied by name into _detector.py with three substitutions (MNE band-pass, channel lists from the study, a private port of the seleccion gate); a modern window_selection on the same port. - synthetic builder: optional focal spike-and-wave (the director's own _punta shape) with a field on the neighbours. Modern equals legacy exactly on window verdicts and spike indicators; the C3 focus is found; contract suites pass.
86 lines
3.0 KiB
TOML
86 lines
3.0 KiB
TOML
[project]
|
|
name = "tea-modulo"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "AlbertoPMDM", email = "albertopmdm@gmail.com" }
|
|
]
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"antropy>=0.2.3",
|
|
"dask>=2026.8.0",
|
|
"distributed>=2026.8.0",
|
|
"edfio>=0.4.18",
|
|
"fhir-resources>=8.3.0",
|
|
"fooof==1.1.1",
|
|
"meegkit>=0.2.0",
|
|
"mlflow>=3.18.0",
|
|
"mne>=1.13.2",
|
|
"numpy>=2.5.5",
|
|
"pandas>=3.1.1",
|
|
"scikit-learn>=1.9.1",
|
|
"scipy>=1.18.1",
|
|
"yasa>=0.8.1",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
export = ["edfio>=0.4.18"]
|
|
s3 = ["s3fs"]
|
|
|
|
[project.entry-points."tea_modulo.legacy_modules"]
|
|
validation = "tea_modulo.legacy.validation:MODULE"
|
|
preprocessing = "tea_modulo.legacy.preprocessing:MODULE"
|
|
annotation_mask = "tea_modulo.legacy.processes.annotation_mask:MODULE"
|
|
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"
|
|
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"
|
|
spindle_topography = "tea_modulo.legacy.biomarkers.spindle_topography:MODULE"
|
|
spikes = "tea_modulo.legacy.biomarkers.spikes:MODULE"
|
|
window_selection = "tea_modulo.legacy.processes.window_selection:MODULE"
|
|
|
|
[project.entry-points."tea_modulo.modules"]
|
|
validation = "tea_modulo.validation:MODULE"
|
|
preprocessing = "tea_modulo.preprocessing:MODULE"
|
|
annotation_mask = "tea_modulo.processes.annotation_mask:MODULE"
|
|
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"
|
|
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"
|
|
spindle_topography = "tea_modulo.biomarkers.spindle_topography:MODULE"
|
|
spikes = "tea_modulo.biomarkers.spikes:MODULE"
|
|
window_selection = "tea_modulo.processes.window_selection:MODULE"
|
|
|
|
[project.entry-points."tea_modulo.executors"]
|
|
legacy = "tea_modulo.legacy.executor:run_serial"
|
|
|
|
[project.scripts]
|
|
ktlx2edf = "tea_modulo.export.cli:main"
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.13.1,<0.14.0"]
|
|
build-backend = "uv_build"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=9.2.0",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["tests"]
|
|
markers = ["cluster: needs a Dask scheduler (DASK_SCHEDULER or DASK_SCHEDULER_ADDRESS)"]
|