obspy.taup.seismic_phase.SeismicPhase.add_to_branch

SeismicPhase.add_to_branch(tMod, startBranch, endBranch, isPWave, endAction)[source]

Add branch numbers to branchSeq.

Branches from startBranch to endBranch, inclusive, are added in order. Also, currBranch is set correctly based on the value of endAction. endAction can be one of TRANSUP, TRANSDOWN, REFLECTTOP, REFLECTBOT, or TURN.