obspy.taup.velocity_layer.evaluate_velocity_at
- evaluate_velocity_at(layer, depth, prop)[source]
Evaluate material properties at some depth in a velocity layer.
- Parameters
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
ord
Density (g/cm^3)
- Returns
The value of the material property requested.
- Return type