getAbsPeak#
- PySeismoSoil.helper_gof_scores.getAbsPeak(x: ndarray) float [source]#
Get the peak value of the absolute value of a 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:
peak – The peak value of the absolute value of x.
- Return type:
float
- Raises:
TypeError – If the size of the second dimension of x is not one or two