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: builtins.object

Attributes

__dict__
__doc__
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)

Public Methods

depth_at_bottom Return the depth at the bottom of the given layer.
depth_at_top Return the depth at the top of the given layer.
evaluate_above Return the value of the given material property at the given depth(s).
evaluate_below Return the value of the given material property at the given depth(s).
fix_discontinuity_depths Reset depths of major discontinuities.
get_discontinuity_depths Return the depths of discontinuities within the velocity model.
is_discontinuity
layer_number_above Find the layer containing the given depth(s).
layer_number_below Find the layer containing the given depth(s).
read_nd_file Read in a velocity model from a “nd” ASCII text file.
read_tvel_file Read in a velocity model from a “tvel” ASCII text file.
read_velocity_file Read in a velocity file.
validate Perform internal consistency checks on the velocity model.

Special Methods

__dir__ default dir() implementation
__format__ default object formatter
__init__ Object for storing a seismic planet model.
__len__
__new__ Create and return a new object.
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__str__
__subclasshook__ Abstract classes can override this to customize issubclass().