deserialize_array_to_params#
- PySeismoSoil.helper_hh_model.deserialize_array_to_params(array: ndarray) dict[str, float] [source]#
Reconstruct a HH model parameter dictionary from an array of values.
- The users need to ensure the order of values in
array
are in this order: gamma_t, a, gamma_ref, beta, s, Gmax, mu, Tmax, d
- Parameters:
array (np.ndarray) – A 1D numpy array of HH parameter values in this order: gamma_t, a, gamma_ref, beta, s, Gmax, mu, Tmax, d
- Returns:
param – The dictionary with parameter name as keys and values as values.
- Return type:
dict[str, float]
- The users need to ensure the order of values in