This function uses two methods to match the responses. The first uses a finite difference approximation and Markov Chain Monte Carlo (MCMC) routine to optimize the response. The second uses the bilinear transform to approximate the analog response. Whichever of these responses best matches the analog response is used; usually, the first method provides a better fit.
MakeDPZ(PZ, dt, fmin = 1/360, niter = 50000, ...)
Discretization effects often make it difficult to match higher frequencies. Close match of somewhat high frequencies is done at the expense of poor match of very high frequencies. If very high frequencies are not interesting, fh should be left at its default value. Otherwise, it should be set to the highest interesting frequency.
# Response of Guralp CMG-40T
PZ = list(poles = c(-0.149 + 0.149i, -0.149 - 0.149i, -503, -1010,
-1130), zeros = c(0, 0), Knorm = 574095649, Sense = 800)
# MakeDPZ(PZ, dt = 0.01, fmin = 1/60) # takes minutes to run
Run the code above in your browser using DataLab