Package edu.sc.seis.TauP.cmdline
Class TauP_Wavefront
- java.lang.Object
-
- edu.sc.seis.TauP.cmdline.TauP_Tool
-
- edu.sc.seis.TauP.cmdline.TauP_AbstractPhaseTool
-
- edu.sc.seis.TauP.cmdline.TauP_Wavefront
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
public class TauP_Wavefront extends TauP_AbstractPhaseTool
Plots of wavefronts, distance along the ray at points in time.
-
-
Field Summary
-
Fields inherited from class edu.sc.seis.TauP.cmdline.TauP_AbstractPhaseTool
phaseNames
-
Fields inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
ABREV_SYNOPSIS, abstractOutputTypeArgs, OPTIONS_HEADING, toolProps
-
-
Constructor Summary
Constructors Constructor Description TauP_Wavefront()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.Double,java.util.List<WavefrontPathSegment>>
calcIsochron()
java.util.Map<java.lang.Double,java.util.List<WavefrontPathSegment>>
calcIsochronSegmentsForPhase(SeismicPhase phase, double timeStep)
void
destroy()
GraphicOutputTypeArgs
getGraphicOutputTypeArgs()
java.lang.String
getOutFileExtension()
java.lang.String
getOutputFormat()
float
getTimeStep()
void
init()
boolean
isNegDistance()
boolean
isSeparateFilesByTime()
static void
main(java.lang.String[] args)
Allows TauP_Isochron to run as an application.void
printIsochron(java.io.PrintWriter out, java.util.Map<java.lang.Double,java.util.List<WavefrontPathSegment>> timeSegmentMap)
void
setNegDistance(boolean negDistance)
void
setSeparateFilesByTime(boolean separateFilesByTime)
void
setTimeStep(float timeStep)
void
start()
void
validateArguments()
-
Methods inherited from class edu.sc.seis.TauP.cmdline.TauP_AbstractPhaseTool
appendPhaseName, appendPhaseName, baseResultAsJSONObject, calcSeismicPhases, calcSeismicPhases, clearPhaseNames, clearPhases, getNumPhases, getRadiusOfEarth, getReceiverDepths, getScatterer, getScattererDepth, getSeismicPhases, getSourceDepths, getTauModelDepthCorrected, getTauModelName, parsePhaseList, parsePhaseNameList, setModelName, setPhaseNameList, setPhaseNames, setReceiverDepth, setScatterer, setSingleReceiverDepth, setSingleSourceDepth, setTauModel
-
Methods inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
call, configDefaults, getCmdLineArgs, isDEBUG, isVerbose, setDEBUG, setOutFileBase, setOutFileExtension, setOutputFormat, setToolPropsFilename, setVerbose, toolNameFromClass
-
-
-
-
Method Detail
-
getOutFileExtension
public java.lang.String getOutFileExtension()
- Overrides:
getOutFileExtension
in classTauP_Tool
-
getOutputFormat
public java.lang.String getOutputFormat()
- Specified by:
getOutputFormat
in classTauP_Tool
-
validateArguments
public void validateArguments() throws TauModelException
- Specified by:
validateArguments
in classTauP_Tool
- Throws:
TauModelException
-
printIsochron
public void printIsochron(java.io.PrintWriter out, java.util.Map<java.lang.Double,java.util.List<WavefrontPathSegment>> timeSegmentMap) throws TauPException
- Throws:
TauPException
-
calcIsochron
public java.util.Map<java.lang.Double,java.util.List<WavefrontPathSegment>> calcIsochron() throws TauPException
- Throws:
TauPException
-
calcIsochronSegmentsForPhase
public java.util.Map<java.lang.Double,java.util.List<WavefrontPathSegment>> calcIsochronSegmentsForPhase(SeismicPhase phase, double timeStep)
-
getTimeStep
public float getTimeStep()
-
getGraphicOutputTypeArgs
public GraphicOutputTypeArgs getGraphicOutputTypeArgs()
-
setTimeStep
public void setTimeStep(float timeStep)
-
isSeparateFilesByTime
public boolean isSeparateFilesByTime()
-
setSeparateFilesByTime
public void setSeparateFilesByTime(boolean separateFilesByTime)
-
isNegDistance
public boolean isNegDistance()
-
setNegDistance
public void setNegDistance(boolean negDistance)
-
init
public void init() throws TauPException
- Overrides:
init
in classTauP_AbstractPhaseTool
- Throws:
TauPException
-
start
public void start() throws java.io.IOException, TauPException
- Specified by:
start
in classTauP_Tool
- Throws:
java.io.IOException
TauPException
-
destroy
public void destroy() throws TauPException
- Specified by:
destroy
in classTauP_Tool
- Throws:
TauPException
-
main
public static void main(java.lang.String[] args) throws java.io.IOException
Allows TauP_Isochron to run as an application. Creates an instance of TauP_Wavefront. ToolRun.main should be used instead.- Throws:
java.io.IOException
-
-