pystrata.site.Layer

class pystrata.site.Layer(soil_type: SoilType, thickness: float, shear_vel: float, damping_min: None | float = None)[source]

Docstring for Layer.

__init__(soil_type: SoilType, thickness: float, shear_vel: float, damping_min: None | float = None)[source]

@todo: to be defined!

Methods

__init__(soil_type, thickness, shear_vel[, ...])

@todo: to be defined!

copy()

Return a copy of the Layer instance with previously defined SoilType.

reset()

stress_mean([depth_within, effective, k0])

Mean effective stress from the top of the layer [kN//m²].

stress_vert([depth_within, effective])

Vertical stress from the top of the layer [kN//m²].

Attributes

adjusted_damping_curve

Return the damping curve adjusted by the layer-specific minimum damping.

comp_shear_mod

Strain-compatible complex shear modulus [kN/m²].

comp_shear_vel

Strain-compatible complex shear-wave velocity [m/s].

damping

Strain-compatible damping.

damping_min

Minimum damping of the soil [dec]

density

Density of soil in [kg/m³].

depth

Depth to the top of the layer [m].

depth_base

Depth to the base of the layer [m].

depth_mid

Depth to the middle of the layer [m].

incr_site_atten

initial_shear_mod

Initial (small-strain) shear modulus [kN/m²].

initial_shear_vel

Initial (small-strain) shear-wave velocity [m/s].

max_error

shear_mod

Strain-compatible shear modulus [kN//m²].

shear_mod_reduc

shear_vel

Strain-compatible shear-wave velocity [m/s].

soil_type

strain

stress_shear_eff

Effective shear stress at layer midpoint.

stress_shear_max

Maximum shear stress at layer midpoint.

thickness

travel_time

Travel time through the layer.

unit_wt