evaluate_velocity_at(layer, depth, prop)[source]

Evaluate material properties at some depth in a velocity layer.

  • layer (ndarray, dtype = VelocityLayer) The velocity layer to use for evaluation.
  • depth (float) The depth at which the material property should be evaluated. Must be within the bounds of the layer or results will be undefined.
  • 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 (g/cm^3)

The value of the material property requested.

Return type:

ndarray (dtype = float, shape equivalent to layer)