Package edu.sc.seis.TauP.cmdline
Class TauP_ReflTransPlot
java.lang.Object
edu.sc.seis.TauP.cmdline.TauP_Tool
edu.sc.seis.TauP.cmdline.TauP_ReflTransPlot
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected doublestatic final Stringprotected doubleprotected Stringprotected booleanprotected booleanprotected Booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected doubleprotected doubleprotected double[]protected TauP_ReflTransPlot.DegRayParamprotected double[]protected List<ReflTransAxisType>Fields inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
ABREV_SYNOPSIS, abstractOutputTypeArgs, OPTIONS_HEADING, toolProps -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculate(double topVp, double topVs, double topDensity, double botVp, double botVs, double botDensity, boolean downgoing, boolean inpwave, boolean inswave, boolean inshwave, boolean linearRayParam, double angleStep) calculate(ReflTrans reflTranCoef, boolean inpwave, boolean inswave, boolean inshwave, boolean linearRayParam, double step) calculate(VelocityModel vMod, double depth, boolean downgoing, boolean inpwave, boolean inswave, boolean inshwave, boolean linearRayParam, double angleStep) protected XYPlottingDatacalculateForType(ReflTrans reflTranCoef, double minX, double maxX, double step, boolean linearRayParam, double oneOverV, ReflTransAxisType label, edu.sc.seis.TauP.cmdline.CalcReflTranFunction<Double, Double> calcFn) calculateFSRF(double pVel, double sVel, double rho, boolean inpwave, boolean inswave, boolean inshwave, boolean linearRayParam, double angleStep) calculateFSRF(VelocityModel vMod, boolean inpwave, boolean inswave, boolean inshwave, boolean linearRayParam, double angleStep) createTitle(ReflTrans reflTransCoef, boolean inpwave, boolean inswave) voiddestroy()doubledoublegetDepth()doubledouble[]double[]voidinit()booleanbooleanisAngles()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisPhase()voidprintResult(PrintWriter writer, List<XYPlottingData> xyPlots) voidsetAbsolute(boolean absolute) voidsetAngles(boolean angles) voidsetAngleStep(double angleStep) voidsetDepth(double depth) voidvoidsetEnergyFlux(boolean energyFlux) voidsetFreeSurfRF(boolean fsrf) voidsetIncidentDown(boolean indown) voidsetIncidentPWave(boolean inpwave) voidsetIncidentShWave(boolean inshwave) voidsetIncidentSWave(boolean inswave) voidsetIncidentUp(boolean inup) voidsetLayerParams(double[] params) voidsetLayerParams(double topVp, double topVs, double topDensity, double botVp, double botVs, double botDensity) voidsetPhase(boolean phase) voidsetRayparamStep(double rayparamStep) voidsetxAxisMinMax(double[] xAxisMinMax) voidsetxAxisType(TauP_ReflTransPlot.DegRayParam xAxisType) voidsetyAxisMinMax(double[] yAxisMinMax) voidsetyAxisType(List<ReflTransAxisType> yAxisType) voidstart()voidMethods inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
call, configDefaults, getCmdLineArgs, getOutFileExtension, isDEBUG, isVerbose, setDEBUG, setOutFileBase, setOutFileExtension, setOutputFormat, setToolPropsFilename, setVerbose, toolNameFromClass
-
Field Details
-
DEFAULT_OUTFILE
- See Also:
-
depthName
-
depth
protected double depth -
angleStep
protected double angleStep -
rayparamStep
protected double rayparamStep -
xAxisType
-
yAxisType
-
xAxisMinMax
protected double[] xAxisMinMax -
yAxisMinMax
protected double[] yAxisMinMax -
step
protected double step -
indown
-
inpwave
protected boolean inpwave -
inswave
protected boolean inswave -
inshwave
protected boolean inshwave -
absolute
protected boolean absolute -
angles
protected boolean angles -
energyflux
protected boolean energyflux -
phase
protected boolean phase -
fsrf
protected boolean fsrf
-
-
Constructor Details
-
TauP_ReflTransPlot
public TauP_ReflTransPlot()
-
-
Method Details
-
init
- Specified by:
initin classTauP_Tool- Throws:
TauPException
-
start
- Specified by:
startin classTauP_Tool- Throws:
IOExceptionTauPException
-
printResult
- Throws:
TauPException
-
destroy
- Specified by:
destroyin classTauP_Tool- Throws:
TauPException
-
validateArguments
- Specified by:
validateArgumentsin classTauP_Tool- Throws:
TauPException
-
calculateFSRF
public List<XYPlottingData> calculateFSRF(double pVel, double sVel, double rho, boolean inpwave, boolean inswave, boolean inshwave, boolean linearRayParam, double angleStep) throws VelocityModelException - Throws:
VelocityModelException
-
calculateFSRF
public List<XYPlottingData> calculateFSRF(VelocityModel vMod, boolean inpwave, boolean inswave, boolean inshwave, boolean linearRayParam, double angleStep) throws VelocityModelException - Throws:
VelocityModelException
-
calculate
public List<XYPlottingData> calculate(VelocityModel vMod, double depth, boolean downgoing, boolean inpwave, boolean inswave, boolean inshwave, boolean linearRayParam, double angleStep) throws VelocityModelException - Throws:
VelocityModelException
-
calculate
public List<XYPlottingData> calculate(double topVp, double topVs, double topDensity, double botVp, double botVs, double botDensity, boolean downgoing, boolean inpwave, boolean inswave, boolean inshwave, boolean linearRayParam, double angleStep) throws VelocityModelException - Throws:
VelocityModelException
-
createTitle
-
calculate
public List<XYPlottingData> calculate(ReflTrans reflTranCoef, boolean inpwave, boolean inswave, boolean inshwave, boolean linearRayParam, double step) throws VelocityModelException - Throws:
VelocityModelException
-
calculateForType
protected XYPlottingData calculateForType(ReflTrans reflTranCoef, double minX, double maxX, double step, boolean linearRayParam, double oneOverV, ReflTransAxisType label, edu.sc.seis.TauP.cmdline.CalcReflTranFunction<Double, Double> calcFn) throws VelocityModelException- Throws:
VelocityModelException
-
getDepth
- Throws:
TauModelException
-
setDepth
-
setDepth
public void setDepth(double depth) -
setLayerParams
public void setLayerParams(double topVp, double topVs, double topDensity, double botVp, double botVs, double botDensity) -
getOutputFormat
- Specified by:
getOutputFormatin classTauP_Tool
-
setIncidentDown
public void setIncidentDown(boolean indown) -
setIncidentUp
public void setIncidentUp(boolean inup) -
isIncidentDown
public boolean isIncidentDown() -
setIncidentPWave
public void setIncidentPWave(boolean inpwave) -
isIncidentPWave
public boolean isIncidentPWave() -
setIncidentSWave
public void setIncidentSWave(boolean inswave) -
isIncidentSWave
public boolean isIncidentSWave() -
setIncidentShWave
public void setIncidentShWave(boolean inshwave) -
isIncidentShWave
public boolean isIncidentShWave() -
setEnergyFlux
public void setEnergyFlux(boolean energyFlux) -
isEnergyFlux
public boolean isEnergyFlux() -
setPhase
public void setPhase(boolean phase) -
isPhase
public boolean isPhase() -
setFreeSurfRF
public void setFreeSurfRF(boolean fsrf) -
isFreeSurfRF
public boolean isFreeSurfRF() -
setAngles
public void setAngles(boolean angles) -
isAngles
public boolean isAngles() -
isAbsolute
public boolean isAbsolute() -
setAbsolute
public void setAbsolute(boolean absolute) -
setLayerParams
public void setLayerParams(double[] params) -
getxAxisType
-
setxAxisType
-
getyAxisType
-
setyAxisType
-
getxAxisMinMax
public double[] getxAxisMinMax() -
setxAxisMinMax
public void setxAxisMinMax(double[] xAxisMinMax) -
getyAxisMinMax
public double[] getyAxisMinMax() -
setyAxisMinMax
public void setyAxisMinMax(double[] yAxisMinMax) -
isLinearRayParam
public boolean isLinearRayParam() -
isInpwave
public boolean isInpwave() -
isInswave
public boolean isInswave() -
isInshwave
public boolean isInshwave() -
setAngleStep
public void setAngleStep(double angleStep) -
getAngleStep
public double getAngleStep() -
getRayparamStep
public double getRayparamStep() -
setRayparamStep
public void setRayparamStep(double rayparamStep) -
getModelArgs
-