osmose.engine.background

Background species support for the OSMOSE Python engine.

Background species are an intermediate tier: they have size classes with biomass from external forcing, participate in predation as both predators and prey, but don’t grow or reproduce.

Functions

parse_background_species(cfg, n_focal, ...)

Parse all background species from a flat OSMOSE config dict.

Classes

BackgroundSpeciesInfo(name, species_index, ...)

Typed parameters for one background species.

BackgroundState(config, grid, engine_config)

Manages background species forcing and generates SchoolState instances.