fromobspyimportreadfromobspy.signal.triggerimportclassic_sta_lta, trigger_onset# 读取实时地震数据st = read("example.mseed")# 进行震相拾取tr = st[0] df = tr.stats.sampling_rate cft = classic_sta_lta(tr.data,int(5* df),int(10* df)) on_of = trigger_onset(cft,1.5,0.5)# 输出震相拾取...
>>>from obspy.signal.trigger import classic_sta_lta>>>help(classic_sta_lta) 1. 2. 3. 设置触发器主要经由以下两个步骤:1)计算特征函数,2)根据特征函数的值设置picks 触发器的例子 所有的例子中,读取数据加载模型的命令如下: >>>from obspy.core import read>>>from obspy.signal.trigger import plot_...
trigger_onset(): fix a bug when trigger off threshold is higher than trigger on threshold and a trigger is active at the end of the characteristic function (see#2891,#3013) obspy.signal.PPSD: show warning on input of a trace that is too short to be processed (see ...