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.

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

The minimum ray parameter, in s/km.

Return type: