obspy.taup.taup_pierce.TauPPierce

class TauPPierce(model, phase_list, depth, degrees, receiver_depth=0.0, add_depth=[], ray_param_tol=1e-06)[source]

Bases: TauPTime

The methods here allow using TauPTime to calculate the pierce points relating to the different arrivals.

Public Methods

calc_time

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

calculate

Call all the necessary calculations to obtain the pierce points.

calculate_pierce

Calculates the pierce points for phases at the given distance by calling the calculate_pierce method of the SeismicPhase class.

depth_correct

Override TauPTime.depth_correct so that the pierce points may be added.

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

TauPPierce.__delattr__(name, /)

Implement delattr(self, name).

TauPPierce.__dir__()

Default dir() implementation.

TauPPierce.__eq__(value, /)

Return self==value.

TauPPierce.__format__(format_spec, /)

Default object formatter.

TauPPierce.__ge__(value, /)

Return self>=value.

TauPPierce.__getattribute__(name, /)

Return getattr(self, name).

TauPPierce.__gt__(value, /)

Return self>value.

TauPPierce.__hash__()

Return hash(self).

TauPPierce.__init__(model, phase_list, depth, degrees, receiver_depth=0.0, add_depth=[], ray_param_tol=1e-06)[source]
TauPPierce.__init_subclass__()

This method is called when a class is subclassed.

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

TauPPierce.__le__(value, /)

Return self<=value.

TauPPierce.__lt__(value, /)

Return self<value.

TauPPierce.__ne__(value, /)

Return self!=value.

TauPPierce.__new__(**kwargs)
TauPPierce.__reduce__()

Helper for pickle.

TauPPierce.__reduce_ex__(protocol, /)

Helper for pickle.

TauPPierce.__repr__()

Return repr(self).

TauPPierce.__setattr__(name, value, /)

Implement setattr(self, name, value).

TauPPierce.__sizeof__()

Size of object in memory, in bytes.

TauPPierce.__str__()

Return str(self).

TauPPierce.__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).