obspy.taup.velocity_model.VelocityModel.evaluate_below

VelocityModel.evaluate_below(depth, prop)[source]

Return the value of the given material property at the given depth(s).

Note this returns the value at the top of the lower layer if the depth happens to be at a layer boundary.

See also

evaluate_below()

Parameters:
  • depth (float or ndarray) – The depth to find, in km.

  • prop (str) –

    The material property to evaluate. One of:

    • p

      Compressional (P) velocity (km/s)

    • s

      Shear (S) velocity (km/s)

    • r or d

      Density (in g/cm^3)

Returns:

the value of the given material property

Return type:

float or ndarray (dtype = float, shape equivalent to depth)