5.2.14.1.3. eqcorrscan.utils.synth_seis.SVD_sim

eqcorrscan.utils.synth_seis.SVD_sim(sp, lowcut, highcut, samp_rate, amp_range=array([-10., -9.99, -9.98, ..., 9.97, 9.98, 9.99]))[source]

Generate basis vectors of a set of simulated seismograms.

Inputs should have a range of S-P amplitude ratios, in theory to simulate a range of focal mechanisms.

Parameters:
  • sp (int) – S-P time in seconds - will be converted to samples according to samp_rate.

  • lowcut (float) – Low-cut for bandpass filter in Hz

  • highcut (float) – High-cut for bandpass filter in Hz

  • samp_rate (float) – Sampling rate in Hz

  • amp_range (numpy.ndarray) – Amplitude ratio range to generate synthetics for.

Returns:

set of output basis vectors

Return type:

numpy.ndarray