Package edu.sc.seis.TauP.cmdline
Class TauP_Path
java.lang.Object
edu.sc.seis.TauP.cmdline.TauP_Tool
edu.sc.seis.TauP.cmdline.TauP_AbstractPhaseTool
edu.sc.seis.TauP.cmdline.TauP_AbstractRayTool
edu.sc.seis.TauP.cmdline.TauP_Path
Calculate travel paths for different phases using a linear interpolated ray
parameter between known slowness samples.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static doubleprotected floatprotected booleanprotected booleanFields inherited from class edu.sc.seis.TauP.cmdline.TauP_AbstractRayTool
distanceArgsFields inherited from class edu.sc.seis.TauP.cmdline.TauP_AbstractPhaseTool
phaseNamesFields inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
ABREV_SYNOPSIS, abstractOutputTypeArgs, OPTIONS_HEADING, toolProps -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalcAll(List<SeismicPhase> phaseList, List<RayCalculateable> shootables) voiddestroy()double[]floatGets the gmt map width to be used with the output script and for creating the circles for each discontinuity.static doublefloatvoidinit()booleanvoidlabelPathsSVG(PrintWriter out, List<Arrival> arrivalList) voidprintLabelsGMT(PrintWriter out, List<Arrival> arrivalList) voidprintResult(PrintWriter out, List<Arrival> arrivalList) voidprintResultHtml(PrintWriter writer, List<Arrival> arrivalList) voidprintResultSVG(PrintWriter out, List<Arrival> arrivalList) voidprintScriptBeginningSVG(PrintWriter out, List<Arrival> arrivalList, float pixelWidth, DistDepthRange distDepthRange, ModelArgs modelArgs, List<String> cmdLineArgs) voidsetMapWidth(float mapWidth) Sets the gmt map width to be used with the output script and for creating the circles for each discontinuity.voidsetMapWidthUnit(String mapWidthUnit) static voidsetMaxPathInc(double max) voidsetMaxPathTime(float maxPathTime) voidsetWithTime(boolean withTime) voidstart()voidMethods inherited from class edu.sc.seis.TauP.cmdline.TauP_AbstractRayTool
getDistanceArgs, getReceiverDepths, getSourceDepthsMethods inherited from class edu.sc.seis.TauP.cmdline.TauP_AbstractPhaseTool
appendPhaseName, appendPhaseName, calcSeismicPhases, calcSeismicPhases, clearPhaseNames, clearPhases, createTimeResult, getNumPhases, getPhaseArgs, getRadiusOfEarth, getScatterer, getScattererDepth, getSeismicPhases, getTauModelDepthCorrected, getTauModelName, parsePhaseNameList, setModelName, setPhaseNameList, setPhaseNames, setScatterer, setSingleReceiverDepth, setSingleSourceDepth, setTauModelMethods inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
call, configDefaults, getCmdLineArgs, isDEBUG, isVerbose, setDEBUG, setOutFileBase, setOutFileExtension, setOutputFormat, setToolPropsFilename, setVerbose, toolNameFromClass
-
Field Details
-
withTime
protected boolean withTime -
maxPathTime
protected float maxPathTime -
maxPathInc
protected static double maxPathInc -
withLatLon
protected boolean withLatLon
-
-
Constructor Details
-
TauP_Path
public TauP_Path() -
TauP_Path
-
-
Method Details
-
getOutFileExtension
- Overrides:
getOutFileExtensionin classTauP_Tool
-
setMapWidth
public void setMapWidth(float mapWidth) Sets the gmt map width to be used with the output script and for creating the circles for each discontinuity. Default is 6 inches. -
getMapWidth
public float getMapWidth()Gets the gmt map width to be used with the output script and for creating the circles for each discontinuity. -
getMapWidthUnit
-
setMapWidthUnit
-
getMaxPathTime
public float getMaxPathTime() -
setMaxPathTime
public void setMaxPathTime(float maxPathTime) -
isWithTime
public boolean isWithTime() -
setWithTime
public void setWithTime(boolean withTime) -
getDepthAxisMinMax
public double[] getDepthAxisMinMax() -
getMaxPathInc
public static double getMaxPathInc() -
setMaxPathInc
public static void setMaxPathInc(double max) -
getGraphicOutputTypeArgs
-
getOutputFormat
- Specified by:
getOutputFormatin classTauP_Tool
-
calcAll
public List<Arrival> calcAll(List<SeismicPhase> phaseList, List<RayCalculateable> shootables) throws TauPException - Specified by:
calcAllin classTauP_AbstractRayTool- Throws:
TauPException
-
destroy
- Specified by:
destroyin classTauP_Tool- Throws:
TauPException
-
printResult
public void printResult(PrintWriter out, List<Arrival> arrivalList) throws IOException, TauPException - Specified by:
printResultin classTauP_AbstractRayTool- Throws:
IOExceptionTauPException
-
printResultHtml
- Throws:
TauPException
-
printResultSVG
- Throws:
TauPException
-
printLabelsGMT
-
labelPathsSVG
-
printScriptBeginningSVG
public void printScriptBeginningSVG(PrintWriter out, List<Arrival> arrivalList, float pixelWidth, DistDepthRange distDepthRange, ModelArgs modelArgs, List<String> cmdLineArgs) throws TauPException - Throws:
TauPException
-
init
- Overrides:
initin classTauP_AbstractPhaseTool- Throws:
TauPException
-
start
- Specified by:
startin classTauP_Tool- Throws:
IOExceptionTauPException
-
validateArguments
- Overrides:
validateArgumentsin classTauP_AbstractRayTool- Throws:
TauPException
-