edu.sc.seis.TauP
Class Theta

java.lang.Object
  extended by edu.sc.seis.TauP.Theta

public class Theta
extends java.lang.Object


Field Summary
protected  double radians
           
protected  double[] rayParams
           
protected  double[] thetaAtX
           
 
Constructor Summary
Theta(SeismicPhase phase, double radians)
           
 
Method Summary
 double getMaxRayParam()
           
 double getRadians()
          Get the value of radians.
 double getStepRayParam(double rayParam, double timeStep)
           
 double getTheta(double rayParam)
           
protected  int getThetaIndex(double rayParam)
           
static double linInterp(double xa, double xb, double ya, double yb, double x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)