obspy.taup.slowness_model.SlownessModel.get_min_ray_param

SlownessModel.get_min_ray_param(depth, is_p_wave)[source]

Find minimum slowness, turning or reflected, at or above a depth.

Normally this is the slowness sample at the given depth, but if the depth is within a high slowness zone, then it may be smaller. Also, at first order discontinuities, there may be many slowness samples at the same depth.

Parameters:
  • depth (float) The depth to search for, in km.
  • is_p_wave (bool) Whether to search the P (True) or S (False) wave.
Returns:

The minimum ray parameter, in s/km.

Return type:

float