obspy.taup.tau_model.TauModel¶
-
class
TauModel
(s_mod, radius_of_planet, is_spherical=True, cache=None, debug=False, skip_calc=False)[source]¶ Bases:
object
Provides storage of all the TauBranches comprising a model.
Attributes
__dict__
__doc__
__module__
__weakref__
list of weak references to the object (if defined)
Public Methods
Calculates tau for each branch within a slowness model.
Called in TauPTime.
Deserialize model from numpy npz binary file.
Finds the branch that either has the depth as its top boundary, or strictly contains the depth.
Return an array of the depths that are boundaries between branches.
Serialize model to numpy npz binary file.
Returns a new TauModel with the branches containing depth split at depth.
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
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().