VelocityModel.evaluate_above(depth, prop)[source]

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

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

See also


  • 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)

The value of the given material property

Return type:

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