PySeismoSoil.helper_gof_scores Module#

Functions#

S_(meas, simu)

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

baseline_wavelet(signal[, wavelet_level, ...])

Perform baseline correction using wavelet decomposition.

calc_AriasIntensity(accel_in_SI_unit)

Compute Arias intensity for scoring.

calc_rms(x)

Compute the RMS of the provided signal x.

circular_convolve_d(h_t, v_j_1, j)

Code from: https://github.com/pistonly/modwtpy

circular_convolve_mra(h_j_o, w_j)

Calculate the mra D_j.

d_10(measurement, simulation[, fmin, fmax, ...])

Cross-correlation measure of goodness-of-fit, as described in: Anderson (2004).

d_1234(measurement, simulation[, fmin, ...])

Calculate the first four goodness-of-fit scores in the GoF scheme described in Shi & Asimaki (2017).

d_567(measurement, simulation[, fmin, fmax, ...])

Calculate the 5th, 6th, and 7th goodness-of-fit scores in the GoF scheme described in Shi & Asimaki (2017).

d_89(measurement, simulation[, fmin, fmax, ...])

Calculate the last two goodness-of-fit scores in the GoF scheme described in Shi & Asimaki (2017).

getAbsPeak(x)

Get the peak value of the absolute value of a signal x.

modwt(x, filters, level)

Code from: https://github.com/pistonly/modwtpy filters: 'db1', 'db2', 'haar', .

modwtmra(w, filters)

Multiresolution analysis based on MODWT Code from: https://github.com/pistonly/modwtpy

period_list(li, N)

Code from: https://github.com/pistonly/modwtpy

upArrow_op(li, j)

Code from: https://github.com/pistonly/modwtpy