Tools¶
Tools included with the TauP package:
calculates travel times. |
|
calculates pierce points at model discontinuities and specified depths. |
|
calculates ray paths, depth versus epicentral distance. |
|
calculates all possible phases in a model with number of interactions. |
|
distance, azimuth and back azimuth between points. |
|
calculates wavefronts in steps of time, depth versus epicentral distance. |
|
calculates travel time curves, time versus epicentral distance. |
|
textual description of the path the phase takes through the model. |
|
outputs travel times for a range of depths and distances in an ASCII file |
|
puts theoretical arrival times into extra headers. |
|
puts theoretical arrival times into sac header variables. |
|
merges part of one velocity model into another. |
|
output velocity model as a gmt script. |
|
list discontinuities in a velocity model. |
|
creates a .taup model from a velocity model. |
|
create spike seismogram. |
|
plot reflection and transmission coefficients for a discontinuity. |
|
http access to the tools |
|
print the version. |
|
display help information about the specified command. |
Usage¶
Each tool is a subcommand of the overall taup
Java application which is
a wrapper to make execution easier, and installed with a simple sh script
for Unix and a .bat files for windows. In general the tools are run like
taup time -p P --deg 35
where the pattern is taup <tool> <arg> <arg> <arg>...
.
Help and Version¶
Each tool has a --help
flag that will print a usage summary, as well
as a --version
flag that will print the version. For help in general,
taup --help
gives the tools available while
taup <tool> --help
gives help for a particular tool.
Output Formats¶
Most tools support
several output formats. Some tools, like time, are textual, while other like
path can also be graphical. In general, the most commonly useful output format
is the default, usually --text
for textual output and --svg
for
SVG graphical output.
The output formats support by one or more tools are:
|
Textual output, usually best for human reading |
|
HTML web page output, also for human reading |
|
JSON, usually best for parsing |
|
CSV, comma separated values, sometimes good for parsing |
|
named discontinuity, velocity model file format |
|
GMT plot style |
|
SVG image |
|
Miniseed3 waveform file |
|
SAC waveform file |
|
LOCSAT style traveltime table |
Velocity Model¶
Almost all tools require an input velocity model. This can be specified via the
--mod
argument, and TauP will search for either an already created
.taup model file, or a .nd named discontinuities model file or a .tvel
ttimes style model file. The .taup file, being already interpolated, is usually
faster, especially for repeated uses, but being able to read, interpolate and
calculate a .nd or .tvel file is very useful.
Distances¶
Many of the tools require a way to specify the ray to be calculated, either via some parameter of the ray or of a distance. See the Distances section for more on the various arguments used to specify this.
Also see the Calculations section for important information on how distances are calculated internally.