Mondaic
This API reference is not for the latest stable Salvus version.

salvus.project.configuration.model.background

Functions

from_volume_model()

def from_volume_model(
    model: salvus.project.configuration.model.volume._VolumeBase,
) -> salvus.project.configuration.model.background._BackgroundBase: ...

Construct a background model from a volume model.

The values for the material parameters will be set to the minimum of the respective values in the volumetric model.

Parameters
  • model salvus.project.configuration.model.volume._VolumeBase — The volume model.
Returns salvus.project.configuration.model.background._BackgroundBase

Submodules