rsseismic.MeanProfileSoilLayer module#

class rsseismic.MeanProfileSoilLayer.MeanProfileSoilLayer(client: Client, modelId: str, layerId: str)#

Bases: _ProxyObject, MeanProfileSoilLayerPropertiesMixin

Read and edit properties for one soil layer on the mean profile template.

Obtain an instance from model.MeanProfile.getSoilLayer(layerId). Layer IDs come from model.MeanProfile.listSoilLayers().

Use the generated get* / set* helpers for scalar layer properties. When shear wave velocity or shear strength varies with depth, set the variation mode first, then use getShearWaveValues / setShearWaveValues or getShearStrengthValues / setShearStrengthValues for the depth table.

Reference curves are edited through layer.ReferenceCurve. Unlike regular profile layers, ReferenceCurve.generateReferenceCurve() is not available here; set curve properties and points on ReferenceCurve directly.

property layerId: str#
getShearWaveValues() list[tuple[float, float]]#

Return vary-with-depth shear wave velocity points as (depth, value) pairs.

Requires shearWaveVelocityVariation = Vary_With_Depth.

setShearWaveValues(points: list[tuple[float, float]]) None#

Set vary-with-depth shear wave velocity points from (depth, value) pairs.

Requires shearWaveVelocityVariation = Vary_With_Depth. The server requires at least two points.

getShearStrengthValues() list[tuple[float, float]]#

Return vary-with-depth shear strength points as (depth, value) pairs.

Requires shearStrengthVariation = Vary_With_Depth.

setShearStrengthValues(points: list[tuple[float, float]]) None#

Set vary-with-depth shear strength points from (depth, value) pairs.

Requires shearStrengthVariation = Vary_With_Depth. The server requires at least two points.