obspy.taup.taup_path.TauPPath
- class TauPPath(model, phase_list, depth, degrees, receiver_depth=0.0, add_depth=[], ray_param_tol=1e-06)[source]
Bases:
TauPPierce
Calculate the ray paths for each phase, using TauPPierce and TauPTime.
Public Methods
Calls the calc_time method of SeismicPhase to calculate arrival times for every phase, each sorted by time. |
|
Call all the necessary calculations to obtain the ray paths. |
|
Calculates the ray paths for phases at the given distance by calling the calculate_path method of the SeismicPhase class. |
|
Calculates the pierce points for phases at the given distance by calling the calculate_pierce method of the SeismicPhase class. |
|
Override TauPTime.depth_correct so that the pierce points may be added. |
|
Recalculates the given phases using a possibly new or changed tau model. |
|
Do all the calculations and print the output if told to. |
Special Methods
- TauPPath.__delattr__(name, /)
Implement delattr(self, name).
- TauPPath.__dir__()
Default dir() implementation.
- TauPPath.__eq__(value, /)
Return self==value.
- TauPPath.__format__(format_spec, /)
Default object formatter.
- TauPPath.__ge__(value, /)
Return self>=value.
- TauPPath.__getattribute__(name, /)
Return getattr(self, name).
- TauPPath.__gt__(value, /)
Return self>value.
- TauPPath.__hash__()
Return hash(self).
- TauPPath.__init__(model, phase_list, depth, degrees, receiver_depth=0.0, add_depth=[], ray_param_tol=1e-06)
- TauPPath.__init_subclass__()
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- TauPPath.__le__(value, /)
Return self<=value.
- TauPPath.__lt__(value, /)
Return self<value.
- TauPPath.__ne__(value, /)
Return self!=value.
- TauPPath.__new__(**kwargs)
- TauPPath.__reduce__()
Helper for pickle.
- TauPPath.__reduce_ex__(protocol, /)
Helper for pickle.
- TauPPath.__repr__()
Return repr(self).
- TauPPath.__setattr__(name, value, /)
Implement setattr(self, name, value).
- TauPPath.__sizeof__()
Size of object in memory, in bytes.
- TauPPath.__str__()
Return str(self).
- TauPPath.__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).