Theta (TauP 2.6.1 API)
Description: declaration: package: edu.sc.seis.TauP, class: Theta

Package edu.sc.seis.TauP

# Class Theta

java.lang.Object
edu.sc.seis.TauP.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)` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `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 Details

  - ### radians

    protected double radians

  - ### thetaAtX

    protected double[] thetaAtX

  - ### rayParams

    protected double[] rayParams

- ## Constructor Details

  - ### Theta

    public Theta​(SeismicPhase phase, double radians)

- ## Method Details

  - ### 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)