geolib.models.dstability.states

This module handles the three types of state types in DStability.

Classes

DStabilityObject(**data)

DStabilityStateLinePoint(**data)

DStabilityStatePoint(**data)

DStability StatePoint

DStabilityStress(**data)

DStability Stress

class geolib.models.dstability.states.DStabilityObject(**data)
Parameters:

data (Any)

model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'ser_json_inf_nan': 'constants', 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class geolib.models.dstability.states.DStabilityStateLinePoint(**data)
Parameters:

data (Any)

above: DStabilityStress
below: DStabilityStress
id: int
is_above_and_below_correlated: bool
is_probabilistic: bool
label: str
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'ser_json_inf_nan': 'constants', 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

x: float
class geolib.models.dstability.states.DStabilityStatePoint(**data)

DStability StatePoint

Parameters:
  • id (int) – id of the statepoint

  • layer_id (int) – id of the layer to add the statepoint, note that the API does not check if this point is within the layer

  • pop (float) – POP value, defaults to 0.0

  • point (Point) – location of the statepoint

  • stress (DStabilityStress) – DStabilityStress object

  • is_probabilistic (bool) – is probabilistic, default to false

  • label (str) – label of the statepoint

  • data (Any)

id: int
is_probabilistic: bool
label: str
layer_id: int
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'ser_json_inf_nan': 'constants', 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

point: Point
stress: DStabilityStress
class geolib.models.dstability.states.DStabilityStress(**data)

DStability Stress

Parameters:
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'ser_json_inf_nan': 'constants', 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

ocr: float
pop: float
state_type: InternalStateTypeEnum
stochastic_parameter: PersistableStochasticParameter