obspy.taup.velocity_layer.evaluate_velocity_at_top

evaluate_velocity_at_top(layer, prop)[source]

Evaluate material properties at top of a velocity layer.

Parameters:
  • layer (ndarray, dtype = VelocityLayer) – The velocity layer to use for evaluation.

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

Returns:

The value of the material property requested.

Return type:

ndarray (dtype = float, shape equivalent to layer)