class SeismicPhase(name, tau_model, receiver_depth=0.0)[source]

Bases: builtins.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.


__doc__ str(object=’‘) -> str
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)

Public Methods

add_to_branch Add branch numbers to branch_seq.
calc_branch_mult Calculate how many times the phase passes through a branch, up or down.
calc_path Calculate the paths this phase takes through the planet model.
calc_path_from_arrival Calculate the paths this phase takes through the planet model.
calc_pierce Calculate pierce points for this phase.
calc_pierce_from_arrival Calculate the pierce points for a particular arrival.
calc_time Calculate arrival times for this phase, sorted by time.
handle_special_waves Handle head or diffracted waves.
parse_name Construct a branch sequence from the given phase name and tau model.
phase_conversion Change max_ray_param and min_ray_param where there is a phase conversion.
sum_branches Sum the appropriate branches for this phase.

Private Methods


Private methods are mainly for internal/developer use and their API might change without notice.


Special Methods

__dir__ default dir() implementation
__format__ default object formatter
__new__ Create and return a new object.
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().