obspy.taup.velocity_model.VelocityModel.depthAtTop

VelocityModel.depthAtTop(layer)[source]

Return the depth at the top of the given layer.

See also

depthAtBottom()

Parameters:layer (int or ndarray) The layer number
Returns:The depth of the top, in km.
Return type:float or ndarray (dtype = float, shape equivalent to layer)