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