obspy.taup.tau_branch.TauBranch

class TauBranch(topDepth=0, botDepth=0, isPWave=0)[source]

Bases: future.types.newobject.newobject

Provides storage and methods for distance, time and tau increments for a branch. A branch is a group of layers bounded by discontinuities or reversals in slowness gradient.

Attributes

DEBUG bool(x) -> bool
__dict__
__doc__ unicode(string [, encoding[, errors]]) -> object
__module__ str(object) -> string
__weakref__ list of weak references to the object (if defined)

Public Methods

calcTimeDist
createBranch Calculates tau for this branch, between slowness layers topLayerNum and
difference Generates a new tau branch by “subtracting” the given tau branch from this tau branch (self).
insert Inserts the distance, time, and tau increment for the slowness sample given to the branch.
next
path Called from TauP_Path to calculate ray paths.
shiftBranch

Private Methods

_to_array Store all attributes for serialization in a structured array.

Special Methods

__eq__
__init__
__long__
__native__ Hook for the future.utils.native() function
__nonzero__
__str__
__unicode__