def test_traveltime(self): """ Tests calculation of travel-times for seismic phases. """ client = Client() result = client.traveltime( evloc=(-36.122, -72.898), evdepth=22.9, staloc=[(-33.45, -70.67), (47.61, -122.33), (35.69, 139.69)]) self.assertTrue(result.startswith(b'Model: iasp91'))
def test_traveltime(self): """ Tests calculation of travel-times for seismic phases. """ client = Client() result = client.traveltime(evloc=(-36.122, -72.898), evdepth=22.9, staloc=[(-33.45, -70.67), (47.61, -122.33), (35.69, 139.69)]) self.assertTrue(result.startswith(b'Model: iasp91'))