osmose.engine.processes.feeding_stage

Feeding stage computation for schools.

Each school’s feeding stage is determined by comparing a metric value (age, size, weight, or trophic level) against species-specific thresholds. The stage index counts how many thresholds the value meets or exceeds.

Functions

compute_feeding_stages(state, config)

Compute the feeding stage for every school.