Ejemplo n.º 1
0
 def test_coda_jessie_mseed(self):
     mseed = self.read_data_trace("20091217_231838.FR.ESCA.00.HHZ.SAC")
     ret = coda_module.analyze_coda(mseed)
     assert len(ret) == 1
     coda_result = ret[0]
     trace = mseed[0]
     coda_start_time = coda_result[0]
     assert coda_start_time > trace.stats.starttime
     coda_slope = coda_result[1]
     assert coda_slope < 0
Ejemplo n.º 2
0
 def test_coda_low_noise_level(self):
     mseed = self.read_data_trace("trace_GE.APE.mseed")
     ret = coda_module.analyze_coda(mseed)
     assert len(ret) == 1 and ret[0] is None