PySeismoSoil.helper_hh_model Module#

Functions#

deserialize_array_to_params(array)

Reconstruct a HH model parameter dictionary from an array of values.

fit_HH_x_single_layer(damping_data_in_pct, *)

Perform HH_x curve fitting for one damping curve using the genetic algorithm.

serialize_params_to_array(param)

Convert the HH parameters from a dictionary to an array, according to this order: gamma_t, a, gamma_ref, beta, s, Gmax, mu, Tmax, d

tau_FKZ(gamma, *, Gmax, mu, d, Tmax)

Calculate the FKZ shear stress. The FKZ model is proposed in Shi & Asimaki (2017), in Equation (6), and has the following form::.

tau_HH(gamma, *, gamma_t, a, gamma_ref, ...)

Calculate the HH shear stress, which is proposed in Shi & Asimaki (2017).

transition_function(gamma, *, a, gamma_t)

Calculate the transition function of the HH model, as defined in Equation (7) of Shi & Asimaki (2017).