===== Tools ===== .. toctree:: :hidden: default_params taup_time taup_pierce taup_path taup_distaz taup_find taup_curve taup_phase taup_table taup_setms3 taup_setsac taup_velmerge taup_velplot taup_discon taup_refltrans taup_wavefront taup_spikes taup_create taup_web taup_version taup_help Tools included with the TauP package: ================================= ========================================================================= :ref:`time ` calculates travel times. :ref:`pierce ` calculates pierce points at model discontinuities and specified depths. :ref:`path ` calculates ray paths, depth versus epicentral distance. :ref:`find ` calculates all possible phases in a model with number of interactions. :ref:`distaz ` distance, azimuth and back azimuth between points. :ref:`wavefront ` calculates wavefronts in steps of time, depth versus epicentral distance. :ref:`curve ` calculates travel time curves, time versus epicentral distance. :ref:`phase ` textual description of the path the phase takes through the model. :ref:`table ` outputs travel times for a range of depths and distances in an ASCII file :ref:`setms3 ` puts theoretical arrival times into extra headers. :ref:`setsac ` puts theoretical arrival times into sac header variables. :ref:`velmerge ` merges part of one velocity model into another. :ref:`velplot ` output velocity model as a gmt script. :ref:`discon ` list discontinuities in a velocity model. :ref:`create ` creates a .taup model from a velocity model. :ref:`spikes ` create spike seismogram. :ref:`refltrans ` plot reflection and transmission coefficients for a discontinuity. :ref:`web ` http access to the tools :ref:`version ` print the version. :ref:`help ` display help information about the specified command. ================================= ========================================================================= Usage -------------- Each tool is a subcommand of the overall :code:`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 :code:`taup time -p P --deg 35` where the pattern is :code:`taup ...`. Help and Version ^^^^^^^^^^^^^^^^ Each tool has a :code:`--help` flag that will print a usage summary, as well as a :code:`--version` flag that will print the version. For help in general, :code:`taup --help` gives the tools available while :code:`taup --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 :code:`--text` for textual output and :code:`--svg` for `SVG `_ graphical output. The output formats support by one or more tools are: ================ ============ :code:`--text` Textual output, usually best for human reading :code:`--html` HTML web page output, also for human reading :code:`--json` `JSON `_, usually best for parsing :code:`--csv` CSV, comma separated values, sometimes good for parsing :code:`--nd` named discontinuity, velocity model file format :code:`--gmt` `GMT `_ plot style :code:`--svg` `SVG `_ image :code:`--ms3` `Miniseed3 `_ waveform file :code:`--sac` `SAC `_ waveform file :code:`--locsat` `LOCSAT `_ style traveltime table ================ ============ Velocity Model ^^^^^^^^^^^^^^ Almost all tools require an input velocity model. This can be specified via the :code:`--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 :ref:`Distances ` section for more on the various arguments used to specify this. Also see the :ref:`Calculations ` section for important information on how distances are calculated internally. .. include:: default_params .. include:: taup_time .. include:: taup_pierce .. include:: taup_path .. include:: taup_distaz .. include:: taup_find .. include:: taup_curve .. include:: taup_phase .. include:: taup_table .. include:: taup_setsac .. include:: taup_setms3 .. include:: taup_velplot .. include:: taup_velmerge .. include:: taup_wavefront .. include:: taup_refltrans .. include:: taup_web .. include:: taup_spikes .. include:: taup_create .. include:: taup_version .. include:: taup_help