obspy.taup.taup.getTravelTimes

getTravelTimes(delta, depth, model='iasp91')[source]

Returns the travel times calculated by the iaspei-tau, a travel time library by Arthur Snoke (http://www.iris.edu/pub/programs/iaspei-tau/).

Parameters:
  • delta (float) Distance in degrees.
  • depth (float) Depth in kilometer.
  • model (string, optional) Either 'iasp91' or 'ak135' velocity model. Defaults to 'iasp91'.
Return type:

list of dicts

Returns:

A list of phase arrivals given in time order. Each phase is represented by a dictionary containing phase name, travel time in seconds, take-off angle, and various derivatives (travel time with respect to distance, travel time with respect to depth and the second derivative of travel time with respect to distance).

Example

>>> from obspy.taup.taup import getTravelTimes
>>> tt = getTravelTimes(delta=52.474, depth=611.0, model='ak135')
>>> len(tt)
24
>>> tt[0]  
{'phase_name': 'P', 'dT/dD': 7.1050525, 'take-off angle': 45.169445,
 'time': 497.53741, 'd2T/dD2': -0.0044748308, 'dT/dh': -0.070258446}

This Page