Files
models/models/tea/eeg/model.toml
T

65 lines
2.2 KiB
TOML

# The EEG analysis: the `tea` library's plan and modules, and the library feature each stored metric is.
domain = "tea"
plan = "director-cluster"
impl = "modern"
line_hz = 60.0
# Completed months at the study: days / days_per_month, as the TEA cohort counts them.
days_per_month = 30.4375
# The baselines' kind (the library's: "curves", centile curves on log age; or "age_blocks").
baseline = "curves"
# The reference cohort the age baselines are trained on: the Helsinki HK1K EEGs (public), its EDFs and the table of
# their ages under `prefix` in the cluster's S3, children of `ages` months. Its mains are at `line_hz`.
[reference]
name = "hk1k"
prefix = "raw/eeg-helsinki/"
ages_table = "anon_codex_age_sex.csv"
line_hz = 50.0
ages = [16.0, 36.0]
# One entry per `MetricaEeg` code. `phase` runs spindle detection on that sleep stage alone; `electrodes` names the
# biomarker whose `<electrode_prefix><electrode>` features are the metric's value per 10-20 electrode, and `zones` the
# one whose `<zone_prefix><zone>` features are its value per scalp zone (`tea.contracts.ZONES`), which the ADOS-2
# association reads. `exposure` names the feature a count baseline divides by: spikes are counted against the
# minutes they were looked for in, since most children of the reference have none.
# The feature each metric maps to is provisional until the domain expert confirms it.
[[metrics]]
code = "RITMO_POSTERIOR"
biomarker = "posterior_rhythm"
feature = "posterior_rhythm_hz"
[[metrics]]
code = "HUSOS_SUENO_N2"
biomarker = "spindles"
phase = "N2"
feature = "spindle_density_per_min_channel"
electrodes = "spindle_topography"
electrode_prefix = "topo_enh_"
zones = "spindles"
zone_prefix = "spindle_zone_"
[[metrics]]
code = "HUSOS_SUENO_N3"
biomarker = "spindles"
phase = "N3"
feature = "spindle_density_per_min_channel"
electrodes = "spindle_topography"
electrode_prefix = "topo_enh_"
zones = "spindles"
zone_prefix = "spindle_zone_"
[[metrics]]
code = "PICOS_PAROXISTICOS"
biomarker = "spikes"
feature = "spike_rate_nrem"
electrodes = "spikes"
electrode_prefix = "spike_density_nrem_"
zones = "spikes"
zone_prefix = "spike_zone_rate_nrem_"
exposure = "spike_minutes_nrem"
[[metrics]]
code = "GRADIENTE_ANTEROPOSTERIOR"
biomarker = "gradient"
feature = "gradient_delta_sueno"