obspy.taup.seismic_phase.SeismicPhase.add_to_branch

SeismicPhase.add_to_branch(tau_model, start_branch, end_branch, is_p_wave, end_action)[source]

Add branch numbers to branch_seq.

Branches from start_branch to end_branch, inclusive, are added in order. Also, current_branch is set correctly based on the value of end_action. end_action can be one of transup, transdown, reflect_underside, reflect_topside, or turn.