obspy.taup.velocity_model.VelocityModel

class VelocityModel(modelName=u'unknown', radiusOfEarth=6371.0, mohoDepth=35, cmbDepth=2889.0, iocbDepth=5153.9, minRadius=0.0, maxRadius=6371.0, isSpherical=True, layers=None)[source]

Bases: future.types.newobject.newobject

Attributes

__dict__
__doc__
__module__ str(object) -> string
__weakref__ list of weak references to the object (if defined)
default_cmb float(x) -> floating point number
default_iocb float(x) -> floating point number
default_moho int(x[, base]) -> integer
radiusOfEarth float(x) -> floating point number

Public Methods

depthAtBottom Return the depth at the bottom of the given layer.
depthAtTop Return the depth at the top of the given layer.
evaluateAbove Return the value of the given material property at the given depth(s).
evaluateBelow Return the value of the given material property at the given depth(s).
fixDisconDepths Reset depths of major discontinuities.
getDisconDepths Return the depths of discontinuities within the velocity model.
getNumLayers Return the number of layers in this velocity model.
layerNumberAbove Find the layer containing the given depth(s).
layerNumberBelow Find the layer containing the given depth(s).
next
readTVelFile Read in a velocity model from a “tvel” ASCII text file.
readVelocityFile Read in a velocity file.
validate Perform internal consistency checks on the velocity model.

Special Methods

__init__ Create an object to store a seismic Earth model.
__len__
__long__
__native__ Hook for the future.utils.native() function
__nonzero__
__str__
__unicode__