obspy.taup.taup_time.TauPTime

class TauPTime(model, phase_list, depth, degrees, receiver_depth=0.0)[source]

Bases: object

Calculate travel times for different branches using linear interpolation between known slowness samples.

Public Methods

calc_time

Calls the calc_time method of SeismicPhase to calculate arrival times for every phase, each sorted by time.

calculate

Calculate the arrival times.

depth_correct

Corrects the TauModel for the given source depth (if not already corrected).

recalc_phases

Recalculates the given phases using a possibly new or changed tau model.

run

Do all the calculations and print the output if told to.

Special Methods

TauPTime.__delattr__(name, /)

Implement delattr(self, name).

TauPTime.__dir__()

Default dir() implementation.

TauPTime.__eq__(value, /)

Return self==value.

TauPTime.__format__(format_spec, /)

Default object formatter.

TauPTime.__ge__(value, /)

Return self>=value.

TauPTime.__getattribute__(name, /)

Return getattr(self, name).

TauPTime.__gt__(value, /)

Return self>value.

TauPTime.__hash__()

Return hash(self).

TauPTime.__init__(model, phase_list, depth, degrees, receiver_depth=0.0)[source]
TauPTime.__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

TauPTime.__le__(value, /)

Return self<=value.

TauPTime.__lt__(value, /)

Return self<value.

TauPTime.__ne__(value, /)

Return self!=value.

TauPTime.__new__(**kwargs)
TauPTime.__reduce__()

Helper for pickle.

TauPTime.__reduce_ex__(protocol, /)

Helper for pickle.

TauPTime.__repr__()

Return repr(self).

TauPTime.__setattr__(name, value, /)

Implement setattr(self, name, value).

TauPTime.__sizeof__()

Size of object in memory, in bytes.

TauPTime.__str__()

Return str(self).

TauPTime.__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).