osmose.engine.processes.reproduction

Reproduction process: egg production from spawning stock biomass.

Also handles age increment for all schools (Java side-effect of reproduction).

Functions

apply_stock_recruitment(linear_eggs, ssb, ...)

Apply per-species density-dependent stock-recruitment.

create_egg_schools(n_eggs, seeded_this_step, ...)

Build n_schools[sp] UNLOCATED egg schools per species.

merge_new_schools(state, new_schools_list)

Append every new school in ONE concatenation per field.

regulate_recruitment(n_eggs_linear, ssb, ...)

Stock-recruitment curve + RV / ceiling / thermal / depensation gates.

reproduction(state, config, step, rng[, ...])

Produce eggs from mature schools and increment age for all schools.