obspy.taup.velocity_model.VelocityModel¶
-
class
VelocityModel
(model_name, radius_of_planet, min_radius, max_radius, moho_depth, cmb_depth, iocb_depth, is_spherical, layers=None)[source]¶ Bases:
object
Attributes
__dict__
__doc__
__module__
__weakref__
list of weak references to the object (if defined)
Public Methods
Return the depth at the bottom of the given layer.
Return the depth at the top of the given layer.
Return the value of the given material property at the given depth(s).
Return the value of the given material property at the given depth(s).
Reset depths of major discontinuities.
Return the depths of discontinuities within the velocity model.
Find the layer containing the given depth(s).
Find the layer containing the given depth(s).
Read in a velocity model from a “nd” ASCII text file.
Read in a velocity model from a “tvel” ASCII text file.
Read in a velocity file.
Perform internal consistency checks on the velocity model.
Special Methods
Default dir() implementation.
Default object formatter.
Object for storing a seismic planet model.
This method is called when a class is subclassed.
Create and return a new object.
Helper for pickle.
Helper for pickle.
Size of object in memory, in bytes.
Return str(self).
Abstract classes can override this to customize issubclass().