Package edu.sc.seis.TauP.cmdline
Class TauP_VelocityPlot
java.lang.Object
edu.sc.seis.TauP.cmdline.TauP_Tool
edu.sc.seis.TauP.cmdline.TauP_VelocityPlot
Creates plots of a velocity model.
-
Field Summary
FieldsFields inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
ABREV_SYNOPSIS, abstractOutputTypeArgs, OPTIONS_HEADING, toolProps -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculate(InputVelocityModelArgs velModelArgs, ModelAxisType xAxis, ModelAxisType yAxis, String labelPrefix) static doublecalculateAtDepth(TauModel tMod, ModelAxisType axisType, double depth, boolean above) static doublecalculateAtDepth(VelocityModel vMod, ModelAxisType axisType, double depth, boolean above) dependentAxis(ModelAxisType xAxisType, ModelAxisType yAxisType) booleandepthLike(ModelAxisType axisType) voiddestroy()double[]double[]voidinit()voidprintCSV(PrintWriter out, VelocityModel vMod) voidprintResult(PrintWriter writer, XYPlotOutput xyOut) voidsetxAxisMinMax(double[] xAxisMinMax) voidsetxAxisType(ModelAxisType xAxisType) voidsetyAxisMinMax(double[] yAxisMinMax) voidsetyAxisType(ModelAxisType yAxisType) booleanslownessLike(ModelAxisType axisType) voidstart()voidbooleanvelocityLike(ModelAxisType axisType) Methods inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
call, configDefaults, getCmdLineArgs, isDEBUG, isVerbose, setDEBUG, setOutFileBase, setOutFileExtension, setOutputFormat, setToolPropsFilename, setVerbose, toolNameFromClass
-
Field Details
-
DEFAULT_OUTFILE
- See Also:
-
xAxisMinMax
protected double[] xAxisMinMax -
yAxisMinMax
protected double[] yAxisMinMax
-
-
Constructor Details
-
TauP_VelocityPlot
public TauP_VelocityPlot()
-
-
Method Details
-
start
- Specified by:
startin classTauP_Tool- Throws:
TauPExceptionIOException
-
printResult
- Throws:
TauPException
-
printCSV
-
init
- Specified by:
initin classTauP_Tool- Throws:
TauPException
-
depthLike
-
velocityLike
-
slownessLike
-
dependentAxis
-
calculateAtDepth
public static double calculateAtDepth(VelocityModel vMod, ModelAxisType axisType, double depth, boolean above) throws TauModelException - Throws:
TauModelException
-
calculateAtDepth
public static double calculateAtDepth(TauModel tMod, ModelAxisType axisType, double depth, boolean above) throws TauModelException - Throws:
TauModelException
-
calculate
public List<XYPlottingData> calculate(InputVelocityModelArgs velModelArgs, ModelAxisType xAxis, ModelAxisType yAxis, String labelPrefix) throws IOException, TauModelException, SlownessModelException -
destroy
- Specified by:
destroyin classTauP_Tool- Throws:
TauPException
-
validateArguments
- Specified by:
validateArgumentsin classTauP_Tool- Throws:
TauPException
-
getOutputTypeArgs
-
getOutFileExtension
- Overrides:
getOutFileExtensionin classTauP_Tool
-
getOutputFormat
- Specified by:
getOutputFormatin classTauP_Tool
-
getVelModelArgs
-
getxAxisType
-
setxAxisType
-
getyAxisType
-
setyAxisType
-
getxAxisMinMax
public double[] getxAxisMinMax() -
setxAxisMinMax
public void setxAxisMinMax(double[] xAxisMinMax) -
getyAxisMinMax
public double[] getyAxisMinMax() -
setyAxisMinMax
public void setyAxisMinMax(double[] yAxisMinMax)
-