5.11.1.3. eqcorrscan.utils.synth_seis.seis_sim¶
-
eqcorrscan.utils.synth_seis.
seis_sim
(SP, amp_ratio=1.5, flength=False, phaseout=u'all')[source]¶ Function to generate a simulated seismogram from a given S-P time. Will generate spikes separated by a given S-P time, which are then convolved with a decaying sine function. The P-phase is simulated by a positive spike of value 1, the S-arrival is simulated by a decaying boxcar of maximum amplitude 1.5. These ampitude ratios can be altered by changing the amp_ratio, which is the ratio S amplitude:P amplitude.
Note
In testing this can achieve 0.3 or greater cross-correlations with data.
Parameters: Returns: np.ndarray