obspy.taup.tau_model.TauModel.find_branch

TauModel.find_branch(depth)[source]

Finds the branch that either has the depth as its top boundary, or strictly contains the depth. Also, we allow the bottom-most branch to contain its bottom depth, so that the center of the planet is contained within the bottom branch.