obspy.taup.slowness_model.SlownessModel.approx_distance
- SlownessModel.approx_distance(slowness_turn_layer, p, is_p_wave)[source]
Approximate distance for ray turning at the bottom of a layer.
Generates approximate distance, in radians, for a ray from a surface source that turns at the bottom of the given slowness layer.
- Parameters:
- Returns:
The time (in s) and distance (in rad) the ray travels.
- Return type:
ndarray
(dtype =obspy.taup.helper_classes.TimeDist
, shape = (slowness_turn_layer
, ))