Class Theta


  • public class Theta
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected double radians  
      protected double[] rayParams  
      protected double[] thetaAtX  
    • Constructor Summary

      Constructors 
      Constructor Description
      Theta​(SeismicPhase phase, double radians)  
    • Field Detail

      • radians

        protected double radians
      • thetaAtX

        protected double[] thetaAtX
      • rayParams

        protected double[] rayParams
    • Constructor Detail

      • Theta

        public Theta​(SeismicPhase phase,
                     double radians)
    • Method Detail

      • getRadians

        public double getRadians()
        Get the value of radians.
        Returns:
        Value of radians.
      • getMaxRayParam

        public double getMaxRayParam()
      • getStepRayParam

        public double getStepRayParam​(double rayParam,
                                      double timeStep)
      • getTheta

        public double getTheta​(double rayParam)
      • getThetaIndex

        protected int getThetaIndex​(double rayParam)
      • linInterp

        public static double linInterp​(double xa,
                                       double xb,
                                       double ya,
                                       double yb,
                                       double x)