osmose.engine.processes.thermal_gate

Percid thermal recruitment gate — pure helpers.

Engine-state-free. The response curve + mode normalization are applied in the config loader (osmose/engine/config.py:_load_thermal_gate); the per-step multiplier is read back by thermal_gate_factor. Percid year-class strength is temperature-gated (Pekcan-Hekim et al. 2011, Ambio; Olin et al. 2019, Hydrobiologia).

Functions

logistic_response(temp, t50, slope)

Saturating year-class response to summer temperature, in (0, 1).

normalize_factor(r, mode, r_ref, window_idx, ...)

Turn a per-year response into a per-year egg multiplier.

thermal_gate_factor(config, step)

Per-species egg-production multiplier for this timestep.