Class TauP_Path

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Integer>

    public class TauP_Path
    extends TauP_AbstractRayTool
    Calculate travel paths for different phases using a linear interpolated ray parameter between known slowness samples.
    • Field Detail

      • withTime

        protected boolean withTime
      • maxPathTime

        protected float maxPathTime
      • maxPathInc

        protected static double maxPathInc
    • Constructor Detail

      • TauP_Path

        public TauP_Path()
      • TauP_Path

        public TauP_Path​(java.lang.String modelName)
    • Method Detail

      • 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

        public java.lang.String getMapWidthUnit()
      • setMapWidthUnit

        public void setMapWidthUnit​(java.lang.String mapWidthUnit)
      • 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)
      • printLabelsGMT

        public void printLabelsGMT​(java.io.PrintWriter out,
                                   java.util.List<Arrival> arrivalList)
      • labelPathsSVG

        public void labelPathsSVG​(java.io.PrintWriter out,
                                  java.util.List<Arrival> arrivalList)
      • printResultJSON

        public void printResultJSON​(java.io.PrintWriter out,
                                    java.util.List<Arrival> arrivalList)
      • getLimitUsage

        public java.lang.String getLimitUsage()
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Allows TauP_Path to run as an application. Creates an instance of TauP_Path and calls TauP_Path.init() and TauP_Path.start(). ToolRun.main should be used instead.
        Throws:
        java.io.IOException