obspy.taup.slowness_layer.evaluate_at_bullen

evaluate_at_bullen(layer, depth, radius_of_planet)[source]

Find the slowness at the given depth.

Note that this method assumes a Bullen type of slowness interpolation, i.e., p(r) = a*r^b. This will produce results consistent with a tau model that uses this interpolant, but it may differ slightly from going directly to the velocity model. Also, if the tau model is generated using another interpolant, linear for instance, then the result may not be consistent with the tau model.

Parameters:
  • layer (numpy.ndarray, dtype = SlownessLayer) The layer to use for the calculation.
  • depth (float) The depth (in km) to use for the calculation. It must be contained within the provided layer or else results are undefined.
  • radius_of_planet (float) The radius of the planet to use, in km.