pystrata.propagation.EquivalentLinearCalculator

class pystrata.propagation.EquivalentLinearCalculator(strain_ratio=0.65, tolerance=0.01, max_iterations=15, strain_limit=0.05)[source]

Class for performing equivalent-linear elastic site response.

__init__(strain_ratio=0.65, tolerance=0.01, max_iterations=15, strain_limit=0.05)[source]

Initialize the class.

Parameters:
  • strain_ratio (float, default=0.65) – Ratio between the maximum strain and effective strain used to compute strain compatible properties.

  • tolerance (float, default=0.01) – Tolerance in the iterative properties, which would cause the iterative process to terminate.

  • max_iterations (int, default=15) – Maximum number of iterations to perform.

  • strain_limit (float, default=0.05) – Limit of strain in calculations. If this strain is exceed, the iterative calculation is ended.

Methods

__init__([strain_ratio, tolerance, ...])

Initialize the class.

calc_accel_tf(lin, lout)

Compute the acceleration transfer function.

calc_strain_ratio(mag)

Compute the effective strain ratio using Idriss and Sun (1992).

calc_strain_tf(lin, lout)

Compute the strain transfer function from lout to location_in.

calc_stress_tf(lin, lout, damped)

Compute the stress transfer function.

wave_at_location(loc)

Compute the wave field at specific location.

Attributes

loc_input

max_iterations

motion

name

profile

strain_limit

strain_ratio

tolerance