Package edu.sc.seis.TauP
Class TauP_Wavefront
- java.lang.Object
-
- edu.sc.seis.TauP.TauP_Tool
-
- edu.sc.seis.TauP.TauP_AbstractPhaseTool
-
- edu.sc.seis.TauP.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.TauP_AbstractPhaseTool
DEFAULT_PHASES, phaseNames
-
Fields inherited from class edu.sc.seis.TauP.TauP_Tool
abstractOutputTypeArgs, cmdLineArgs, 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, java.lang.String psFile)
void
setNegDistance(boolean negDistance)
void
setSeparateFilesByTime(boolean separateFilesByTime)
void
setTimeStep(float timeStep)
void
start()
void
validateArguments()
-
Methods inherited from class edu.sc.seis.TauP.TauP_AbstractPhaseTool
appendPhaseName, appendPhaseName, baseResultAsJSONObject, clearPhaseNames, clearPhases, extractPhaseNames, getNumPhases, getPhaseNameList, getPhaseNames, getPhaseNameString, getPhaseUsage, getRadiusOfEarth, getReceiverDepth, getScatterer, getScattererDepth, getSeismicPhases, getSourceDepth, getTauModelDepthCorrected, getTauModelName, linearInterp, parsePhaseList, readPhaseFile, recalcPhases, setModelName, setPhaseNameList, setPhaseNames, setPhaseNames, setReceiverDepth, setScatterer, setSourceDepth, setTauModel, splitPhaseNameList
-
Methods inherited from class edu.sc.seis.TauP.TauP_Tool
call, configDefaults, endGmtAndCleanUp, getModDepthUsage, getOutFileBase, getStdUsageHead, getStdUsageTail, 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, java.lang.String psFile) throws TauPException
- Throws:
TauPException
-
calcIsochron
public java.util.Map<java.lang.Double,java.util.List<WavefrontPathSegment>> calcIsochron() throws TauModelException
- Throws:
TauModelException
-
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
-
-