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.

Attributes

__dict__

__doc__

__module__

__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_incident_angle

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_ray_param_for_takeoff

calc_takeoff_angle

calc_time

Calculate arrival times for this phase, sorted by time.

create_purist_name

get_earliest_arrival

handle_special_waves

Handle head or diffracted waves.

linear_interp_arrival

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.

refine_arrival

shoot_ray

sum_branches

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.

_refine_arrival

Special Methods

__dir__

Default dir() implementation.

__format__

Default object formatter.

__init__

Initialize self.

__init_subclass__

This method is called when a class is subclassed.

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