TauP Wavefront¶
TauP Wavefront is similar to TauP Path, but plots the wavefront at timesteps instead of the ray paths. It also uses a model like TauP Time and generates depth versus angular distances from the epicenter for the phases, but done at time slices instead of depth slices. The output is in GMT, Wessel and Smith [WS95], plot format, and is placed into the file taup_wavefront.gmt. The colums are distance, depth, time and ray param, although only the first two are used by the GMT script. If you specify the -gmt flag then this is a complete script with the appropriate psxy command prepended, so if you have GMT installed, you can just:
taup wavefront --mod iasp91 -h 550 -p s,S,ScS,sS,sScS --gmt
and then:
bash taup_wavefront.gmt
and you have a plot of the wavefronts in taup_wavefront.pdf.
Or use –svg to generate a SVG plot
taup wavefront --mod iasp91 -h 550 -p s,S,ScS,sS,sScS --color wavetype --svg
If the one-sided plot is confusing, the --negdist
flag will mirror the
wavefronts from the positive to the negative side of the figure, making a
more pleasing display.
The usage is:
Usage: taup wavefront [--debug] [--help] [--legend] [--negdist]
[--onlynameddiscon] [--timefiles] [--verbose]
[--color=<coloring>] [--mapwidth=<mapwidth>]
[--mapwidthunit=<mapWidthUnit>] [-o=<outFile>]
[--prop=<toolPropsFilename>] [--timestep=<timeStep>]
[--xaxis=type] [--yaxis=type] [--degminmax=deg deg]...
[--depthminmax=km km]... [[--mod=<modelName>] [-h=depth[,
depth...]]... [--stadepth=depth[,depth...]]... [--scat=s
s]...] [[-p=phase[,phase...]]...
[--phasefile=<phaseFiles>]...] [--gmt | --json | --svg |
--text]
Plot wavefronts of seismic phases at steps in time.
Options:
--color=<coloring> style of coloring for paths and wavefronts, one of:
auto, wavetype, phase, none
--debug enable debugging output
--degminmax=deg deg min and max distance in degrees for plotting
--depthminmax=km km min and max depth, km, for plotting
--help display this help message
--legend create a legend
--mapwidth=<mapwidth> plot width in inches for GMT, pixels for SVG.
--mapwidthunit=<mapWidthUnit>
plot width unit for GMT. Default is i for inchs
--negdist outputs negative distance as well so wavefronts are
in both halves.
-o, --output=<outFile> output to file, default is stdout.
--onlynameddiscon only draw circles on the plot for named
discontinuities like moho, cmb, iocb but not 410
--prop=<toolPropsFilename>
load defaults from properties file
--timefiles outputs each time into a separate .ps file within
the gmt script.
--timestep=<timeStep> steps in time (seconds) for output, default is 100
--verbose enable verbose output
--xaxis=type x axis type, the depth/radius axis, one of degree,
radian, kilometer
No effect for SVG output.
--yaxis=type y axis type, the depth/radius axis, one of depth,
radius
No effect for SVG output.
Model Args
-h, --evdepth, --sourcedepth=depth[,depth...]
source depth in km
--mod, --model=<modelName>
use velocity model "modelName" for calculations.
Default is iasp91. Other builtin models include
prem, ak135, ak135fcont, and ak135favg.
--scat, --scatter=s s scattering depth and distance in degrees, which may
be negative. Only effects phases with 'o' or 'O'
in the phase name.
--stadepth, --receiverdepth=depth[,depth...]
the receiver depth in km for stations not at the
surface
Phase Names
-p, --ph, --phase=phase[,phase...]
seismic phase names
--phasefile=<phaseFiles>
read list of phase names from file
Output Type:
--gmt outputs as GMT
--json outputs as JSON
--svg outputs as SVG
--text outputs as Text