obspy.taup.slowness_model.SlownessModel¶
-
class
SlownessModel
(v_mod, min_delta_p=0.1, max_delta_p=11, max_depth_interval=115, max_range_interval=0.04363323129985824, max_interp_error=0.05, allow_inner_core_s=True, slowness_tolerance=1e-16, skip_model_creation=False)[source]¶ Bases:
object
Storage and methods for generating slowness-depth pairs.
Attributes
__dict__
__doc__
__module__
__weakref__
list of weak references to the object (if defined)
Public Methods
Add a ray parameter to the slowness sampling for the given wave type.
Approximate distance for ray turning at the bottom of a layer.
Create a coarse slowness sampling of the velocity model (v_mod).
Create slowness-depth layers from a velocity model.
Determine if the given depth is contained within a fluid zone.
Determine if depth and slowness are within a high slowness zone.
Check that no slowness layer is too thick.
Check that no slowness layer is too wide or undersampled.
Find all critical points within a velocity model.
Find depth corresponding to a slowness between two given depths.
Find depth corresponding to a slowness p between two velocity layers.
Reset the slowness layers that correspond to critical points.
Find minimum slowness, turning or reflected, at or above a depth.
Find minimum slowness, turning but not reflected, at or above a depth.
Number of slowness layers.
Return the Slowness_layer of the requested wave type.
Interpolate slowness to depth within a layer.
Find the index of the slowness layer that contains the given depth.
Find the index of the slowness layer that contains the given depth.
Calculate time and distance for a ray passing through a layer.
Check that no slowness layer’s ray parameter interval is too large.
Split a slowness layer into two slowness layers.
Convert velocity at some depth to slowness.
Perform consistency check on the slowness model.
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
Fix other wave layers when a split is made.
Special Methods
Default dir() implementation.
Default object formatter.
Initialize self.
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().