edu.sc.seis.TauP
Class Arrival

java.lang.Object
  |
  +--edu.sc.seis.TauP.Arrival

public class Arrival
extends java.lang.Object
implements java.lang.Cloneable

convenience class for storing the parameters associated with a phase arrival.


Constructor Summary
Arrival()
           
 
Method Summary
 java.lang.Object clone()
           
 double getDist()
          returns travel distance in radians
 double getDistDeg()
          returns travel distance in degrees.
 TimeDist getFirstPiercePoint(double depth)
          finds the first pierce point at the given depth.
 TimeDist getLastPiercePoint(double depth)
          finds the last pierce point at the given depth.
 double getModuloDistDeg()
          returns distance in degrees and in the range 0-180.
 java.lang.String getName()
          returns phase name
 int getNumPathPoints()
           
 int getNumPiercePoints()
           
 TimeDist[] getPath()
          returns pierce points as TimeDist objects.
 TimeDist getPathPoint(int i)
           
 TimeDist[] getPierce()
          returns pierce points as TimeDist objects.
 TimeDist getPiercePoint(int i)
           
 java.lang.String getPuristName()
          returns purist's version of name.
 double getRayParam()
          returns ray parameter in seconds per radian
 double getSourceDepth()
          returns source depth in kilometers
 double getTime()
          returns travel time in seconds
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Arrival

public Arrival()
Method Detail

getTime

public double getTime()
returns travel time in seconds

getDist

public double getDist()
returns travel distance in radians

getDistDeg

public double getDistDeg()
returns travel distance in degrees.

getModuloDistDeg

public double getModuloDistDeg()
returns distance in degrees and in the range 0-180. Note this may not be the actual distance traveled.

getRayParam

public double getRayParam()
returns ray parameter in seconds per radian

getName

public java.lang.String getName()
returns phase name

getPuristName

public java.lang.String getPuristName()
returns purist's version of name. Depths are changed to reflect the true depth of the interface.

getSourceDepth

public double getSourceDepth()
returns source depth in kilometers

getPierce

public TimeDist[] getPierce()
returns pierce points as TimeDist objects.

getPath

public TimeDist[] getPath()
returns pierce points as TimeDist objects.

clone

public java.lang.Object clone()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getNumPiercePoints

public int getNumPiercePoints()

getNumPathPoints

public int getNumPathPoints()

getPiercePoint

public TimeDist getPiercePoint(int i)

getFirstPiercePoint

public TimeDist getFirstPiercePoint(double depth)
finds the first pierce point at the given depth.
Throws:
ArrayIndexOutOfBoundsException - if depth is not found

getLastPiercePoint

public TimeDist getLastPiercePoint(double depth)
finds the last pierce point at the given depth.
Throws:
ArrayIndexOutOfBoundsException - if depth is not found

getPathPoint

public TimeDist getPathPoint(int i)