Class TauP_ReflTransPlot

java.lang.Object
edu.sc.seis.TauP.cmdline.TauP_Tool
edu.sc.seis.TauP.cmdline.TauP_ReflTransPlot
All Implemented Interfaces:
Callable<Integer>

public class TauP_ReflTransPlot extends TauP_Tool
  • Field Details

    • DEFAULT_OUTFILE

      public static final String DEFAULT_OUTFILE
      See Also:
    • depthName

      protected String depthName
    • depth

      protected double depth
    • angleStep

      protected double angleStep
    • rayparamStep

      protected double rayparamStep
    • xAxisType

      protected TauP_ReflTransPlot.DegRayParam xAxisType
    • yAxisType

      protected List<ReflTransAxisType> yAxisType
    • xAxisMinMax

      protected double[] xAxisMinMax
    • yAxisMinMax

      protected double[] yAxisMinMax
    • step

      protected double step
    • indown

      protected Boolean 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

      public void init() throws TauPException
      Specified by:
      init in class TauP_Tool
      Throws:
      TauPException
    • start

      public void start() throws IOException, TauPException
      Specified by:
      start in class TauP_Tool
      Throws:
      IOException
      TauPException
    • printResult

      public void printResult(PrintWriter writer, List<XYPlottingData> xyPlots) throws TauPException
      Throws:
      TauPException
    • destroy

      public void destroy() throws TauPException
      Specified by:
      destroy in class TauP_Tool
      Throws:
      TauPException
    • validateArguments

      public void validateArguments() throws TauPException
      Specified by:
      validateArguments in class TauP_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

      public String createTitle(ReflTrans reflTransCoef, boolean inpwave, boolean inswave)
    • 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

      public double getDepth() throws TauModelException
      Throws:
      TauModelException
    • setDepth

      public void setDepth(String depthOrName)
    • setDepth

      public void setDepth(double depth)
    • setLayerParams

      public void setLayerParams(double topVp, double topVs, double topDensity, double botVp, double botVs, double botDensity)
    • getOutputFormat

      public String getOutputFormat()
      Specified by:
      getOutputFormat in class TauP_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

      public TauP_ReflTransPlot.DegRayParam getxAxisType()
    • setxAxisType

      public void setxAxisType(TauP_ReflTransPlot.DegRayParam xAxisType)
    • getyAxisType

      public List<ReflTransAxisType> getyAxisType()
    • setyAxisType

      public void setyAxisType(List<ReflTransAxisType> yAxisType)
    • 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

      public ModelArgs getModelArgs()