serialize_params_to_array#
- PySeismoSoil.helper_hh_model.serialize_params_to_array(param: dict[str, float]) ndarray [source]#
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
- Parameters:
param (dict[str, float]) – A dictionary containing the parameters of the HH model.
- Returns:
param_array – A numpy array of shape (9,) containing the parameters of the HH model in the order specified above.
- Return type:
np.ndarray