obspy.taup.tau_model.TauModel¶
- class TauModel(sMod, spherical=True, debug=False, skip_calc=False)[source]¶
Bases: future.types.newobject.newobject
Provides storage of all the TauBranches comprising a model.
Attributes
__dict__ __doc__ unicode(string [, encoding[, errors]]) -> object __module__ str(object) -> string __weakref__ list of weak references to the object (if defined) noDisconDepths list() -> new empty list radiusOfEarth float(x) -> floating point number sourceBranch int(x[, base]) -> integer source_depth float(x) -> floating point number Public Methods
calcTauIncFrom Calculates tau for each branch within a slowness model. depth_correct Called in TauP_Time. Computes a new tau model for a source at depth findBranch Finds the branch that either has the depth as its top boundary, or strictly contains the depth. getBranchDepths Return an array of the depths that are boundaries between branches. getTauBranch loadFromDepthCache next serialize Serialize model to numpy npz binary file. splitBranch Returns a new TauModel with the branches containing depth split at validate Special Methods
__init__ __long__ __native__ Hook for the future.utils.native() function __nonzero__ __str__ __unicode__