Class TauP_Wavefront


public class TauP_Wavefront
extends TauP_Path
Plots of wavefronts, distance along the ray at points in time.
  • Constructor Details

  • Method Details

    • calculate

      public void calculate​(double degrees) throws TauModelException
      Overrides:
      calculate in class TauP_Path
      Throws:
      TauModelException
    • printUsage

      public void printUsage()
      Description copied from class: TauP_Pierce
      prints the known command line flags.
      Overrides:
      printUsage in class TauP_Path
    • printScriptBeginning

      public void printScriptBeginning​(java.io.PrintWriter out) throws java.io.IOException
      Description copied from class: TauP_Tool
      a noop that allows overriding classes to print things before results are calculated. For example to set up GMT commands before drawing paths.
      Overrides:
      printScriptBeginning in class TauP_Path
      Throws:
      java.io.IOException
    • printResult

      public void printResult​(java.io.PrintWriter out) throws java.io.IOException
      Overrides:
      printResult in class TauP_Path
      Throws:
      java.io.IOException
    • calcIsochron

      public java.util.Map<SeismicPhase,​java.util.Map<java.lang.Float,​java.util.List<TimeDist>>> calcIsochron() throws TauModelException
      Throws:
      TauModelException
    • setNumRays

      public void setNumRays​(int numRays)
    • getNumRays

      public int getNumRays()
    • getTimeStep

      public float getTimeStep()
    • setTimeStep

      public void setTimeStep​(float timeStep)
    • isSeparateFilesByTime

      public boolean isSeparateFilesByTime()
    • setSeparateFilesByTime

      public void setSeparateFilesByTime​(boolean separateFilesByTime)
    • isNegDistance

      public boolean isNegDistance()
    • setNegDistance

      public void setNegDistance​(boolean negDistance)
    • parseCmdLineArgs

      public java.lang.String[] parseCmdLineArgs​(java.lang.String[] args) throws java.io.IOException
      Overrides:
      parseCmdLineArgs in class TauP_Path
      Throws:
      java.io.IOException
    • init

      public void init() throws TauPException
      Description copied from class: TauP_Time
      preforms intialization of the tool. Properties are queried for the the default model to load, source depth to use, phases to use, etc. Note that because of the IO inherent in these operations, this method is not appropriate for Applets. Applets should load TauModels themselves and use the setTauModel(TauModel) method.
      Overrides:
      init in class TauP_Time
      Throws:
      TauPException
    • start

      public void start() throws java.io.IOException, TauModelException, TauPException
      Overrides:
      start in class TauP_Path
      Throws:
      java.io.IOException
      TauModelException
      TauPException
    • main

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