obspy.taup.seismic_phase.leg_puller
- leg_puller(name)[source]
Tokenize a phase name into legs.
For example,
PcSbecomes'P' + 'c' + 'S'whilep^410Pwould become'p' + '^410' + 'P'. Once a phase name has been broken into tokens, we can begin to construct the sequence of branches to which it corresponds. Only minor error checking is done at this point, for instancePIPgenerates an exception but^410doesn’t. It also appends"END"as the last leg.