calc_rms#

PySeismoSoil.helper_gof_scores.calc_rms(x: ndarray) float[source]#

Compute the RMS of the provided signal x.

Parameters:

x (np.ndarray) – Assumed to be a two-column array, with the time in the first column and the data in the second.

Returns:

rms – The RMS value of x.

Return type:

float