Package edu.sc.seis.TauP
Class TauP_Wavefront
java.lang.Object
edu.sc.seis.TauP.TauP_Time
edu.sc.seis.TauP.TauP_Pierce
edu.sc.seis.TauP.TauP_Path
edu.sc.seis.TauP.TauP_Wavefront
public class TauP_Wavefront extends TauP_Path
-
Field Summary
Fields inherited from class edu.sc.seis.TauP.TauP_Path
gmtScript, mapWidth, mapWidthUnit, maxPathInc, maxPathTime, psFile, SVG, withTime
Fields inherited from class edu.sc.seis.TauP.TauP_Pierce
addDepth, onlyAddPoints, onlyRevPoints, onlyTurnPoints, onlyUnderPoints
Fields inherited from class edu.sc.seis.TauP.TauP_Time
arrivals, azimuth, backAzimuth, DEBUG, degrees, depth, eventLat, eventLon, expert, GUI, JSON, modelName, onlyPrintRayP, onlyPrintTime, outFileBase, outForms, outputFormat, phaseNames, receiverDepth, relativeArrival, relativePhaseName, stationLat, stationLon, takeoffAngle, TEXT, tMod, tModDepth, toolProps, verbose, writer
-
Constructor Summary
Constructors Constructor Description TauP_Wavefront()
-
Method Summary
Modifier and Type Method Description java.util.Map<SeismicPhase,java.util.Map<java.lang.Float,java.util.List<TimeDist>>>
calcIsochron()
void
calculate(double degrees)
int
getNumRays()
float
getTimeStep()
boolean
isNegDistance()
boolean
isSeparateFilesByTime()
static void
main(java.lang.String[] args)
Allows TauP_Isochron to run as an application.java.lang.String[]
parseCmdLineArgs(java.lang.String[] args)
void
printResult(java.io.PrintWriter out)
void
printScriptBeginning(java.io.PrintWriter out)
a noop that allows overriding classes to print things before results are calculated.void
printUsage()
prints the known command line flags.void
setNegDistance(boolean negDistance)
void
setNumRays(int numRays)
void
setSeparateFilesByTime(boolean separateFilesByTime)
void
setTimeStep(float timeStep)
Methods inherited from class edu.sc.seis.TauP.TauP_Path
destroy, getMapWidth, getMapWidthUnit, getMaxPathInc, getMaxPathTime, getOutFileExtension, isGmtScript, printDistRadius, printLatLon, printScriptBeginning, printScriptBeginningSVG, setGmtScript, setMapWidth, setMapWidthUnit, setMaxPathInc, setMaxPathTime, start
Methods inherited from class edu.sc.seis.TauP.TauP_Pierce
appendAddDepths, depthCorrect, isAddDepth, parseAddDepthsList, setAddDepths, setOnlyAddPoints, setOnlyRevPoints, setOnlyTurnPoints, setOnlyUnderPoints
Methods inherited from class edu.sc.seis.TauP.TauP_Time
appendPhaseName, appendPhaseName, calcTakeoff, calcTime, clearArrivals, clearPhaseNames, clearPhases, dashEquals, depthCorrect, getArrival, getArrivals, getDisconDepths, getNumArrivals, getNumPhases, getOutFile, getOutFileBase, getOutputFormat, getPhaseNames, getPhaseNames, getPhaseNameString, getReceiverDepth, getSeismicPhases, getSourceDepth, getTauModel, getTauModelDepthCorrected, getTauModelName, getWriter, init, linearInterp, loadTauModel, parseDegreeList, parsePhaseList, printHelp, printNoComprendoArgs, printResultJSON, printResultText, printStdUsage, printStdUsageHead, printStdUsageHead, printStdUsageTail, readPhaseFile, readTauModel, recalcPhases, setOutFileBase, setOutputFormat, setPhaseNames, setPhaseNames, setReceiverDepth, setSourceDepth, setTauModel, setWriter, sortArrivals
-
Constructor Details
-
TauP_Wavefront
public TauP_Wavefront()
-
-
Method Details
-
calculate
- Overrides:
calculate
in classTauP_Path
- Throws:
TauModelException
-
printUsage
public void printUsage()Description copied from class:TauP_Pierce
prints the known command line flags.- Overrides:
printUsage
in classTauP_Path
-
printScriptBeginning
public void printScriptBeginning(java.io.PrintWriter out) throws java.io.IOExceptionDescription copied from class:TauP_Time
a noop that allows overriding classes to print things before results are calculated. For example to set up GMT commands before drawing paths.- Overrides:
printScriptBeginning
in classTauP_Path
- Throws:
java.io.IOException
-
printResult
public void printResult(java.io.PrintWriter out) throws java.io.IOException- Overrides:
printResult
in classTauP_Path
- Throws:
java.io.IOException
-
calcIsochron
public java.util.Map<SeismicPhase,java.util.Map<java.lang.Float,java.util.List<TimeDist>>> calcIsochron() throws TauModelException- Throws:
TauModelException
-
setNumRays
public void setNumRays(int numRays) -
getNumRays
public int getNumRays() -
getTimeStep
public float getTimeStep() -
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) -
parseCmdLineArgs
public java.lang.String[] parseCmdLineArgs(java.lang.String[] args) throws java.io.IOException- Overrides:
parseCmdLineArgs
in classTauP_Path
- Throws:
java.io.IOException
-
main
public static void main(java.lang.String[] args) throws java.io.FileNotFoundException, java.io.IOException, java.io.StreamCorruptedException, java.lang.ClassNotFoundException, java.io.OptionalDataExceptionAllows TauP_Isochron to run as an application. Creates an instance of TauP_Isochron. .- Throws:
java.io.FileNotFoundException
java.io.IOException
java.io.StreamCorruptedException
java.lang.ClassNotFoundException
java.io.OptionalDataException
-