salvus.project.configuration.model.background
Functions
from_volume_model()
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
modelsalvus.project.configuration.model.volume._VolumeBase — The volume model.
Returns salvus.project.configuration.model.background._BackgroundBase