obspy.taup.seismic_phase.SeismicPhase
- class SeismicPhase(name, tau_model, receiver_depth=0.0)[source]
Bases:
object
Stores and transforms seismic phase names to and from their corresponding sequence of branches. Will maybe contain “expert” mode wherein paths may start in the core. Principal use is to calculate leg contributions for scattered phases. Nomenclature: “K” - downgoing wave from source in core; “k” - upgoing wave from source in core.
Public Methods
Add branch numbers to branch_seq. |
|
Calculate how many times the phase passes through a branch, up or down. |
|
Calculate the paths this phase takes through the planet model. |
|
Calculate the paths this phase takes through the planet model. |
|
Calculate pierce points for this phase. |
|
Calculate the pierce points for a particular arrival. |
|
Calculate arrival times for this phase, sorted by time. |
|
Construct a branch sequence from the given phase name and tau model. |
|
Change max_ray_param and min_ray_param where there is a phase conversion. |
|
Use a shooting method to improve ray path. |
|
Sum the appropriate branches for this phase. |
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
Special Methods
- SeismicPhase.__delattr__(name, /)
Implement delattr(self, name).
- SeismicPhase.__dir__()
Default dir() implementation.
- SeismicPhase.__eq__(value, /)
Return self==value.
- SeismicPhase.__format__(format_spec, /)
Default object formatter.
- SeismicPhase.__ge__(value, /)
Return self>=value.
- SeismicPhase.__getattribute__(name, /)
Return getattr(self, name).
- SeismicPhase.__gt__(value, /)
Return self>value.
- SeismicPhase.__hash__()
Return hash(self).
- SeismicPhase.__init_subclass__()
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- SeismicPhase.__le__(value, /)
Return self<=value.
- SeismicPhase.__lt__(value, /)
Return self<value.
- SeismicPhase.__ne__(value, /)
Return self!=value.
- SeismicPhase.__new__(**kwargs)
- SeismicPhase.__reduce__()
Helper for pickle.
- SeismicPhase.__reduce_ex__(protocol, /)
Helper for pickle.
- SeismicPhase.__repr__()
Return repr(self).
- SeismicPhase.__setattr__(name, value, /)
Implement setattr(self, name, value).
- SeismicPhase.__sizeof__()
Size of object in memory, in bytes.
- SeismicPhase.__str__()
Return str(self).
- SeismicPhase.__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).