S#

PySeismoSoil.helper_gof_scores.S_(meas: float | numpy.ndarray, simu: float | numpy.ndarray) float | numpy.ndarray[source]#

Score the provided elements as described in Shi & Asimaki (2017).

Parameters:
  • meas (float | np.ndarray) – The measurement value to compare against.

  • simu (float | np.ndarray) – The simulation value to compare with the measurement (truth).

Returns:

score – The computed score between meas and simu.

Return type:

float | np.ndarray

References

  1. J. Shi, and D. Asimaki. (2017) “From stiffness to strength: Formulation and validation of a hybrid hyperbolic nonlinear soil model for site- response analyses.” Bulletin of the Seismological Society of America. Vol. 107, No. 3, 1336-1355.

Notes

Original Matlab code (c) Jian Shi, 2/17/2015 Ported to Python by Flora Xia, 02/2024