calc_AriasIntensity#

PySeismoSoil.helper_gof_scores.calc_AriasIntensity(accel_in_SI_unit: ndarray) tuple[numpy.ndarray, float][source]#

Compute Arias intensity for scoring.

Parameters:

accel_in_SI_unit (np.ndarray) – Acceleration in SI unit (i.e., m/s^2). It needs to be in two columns, with the first column being time array, and the second column being acceleration.

Returns:

  • Ia (np.ndarray) –

    Arias intensity duration as a function of time

    (unit: m/s^2) It also has two columns.

  • Ia_peak (float) – The maximum value of the Ia duration, which is also the value of the last element in the Ia duration array.

Notes

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