|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sc.seis.TauP.Arrival
convenience class for storing the parameters associated with a phase arrival.
Field Summary | |
protected double |
dist
angular distance (great circle) in radians |
protected static double |
DtoR
|
protected java.lang.String |
name
phase name |
protected TimeDist[] |
path
pierce and path points |
protected SeismicPhase |
phase
phase that generated this arrival. |
protected TimeDist[] |
pierce
pierce and path points |
protected java.lang.String |
puristName
phase name changed for true depths |
protected double |
rayParam
ray parameter in seconds per radians. |
protected int |
rayParamIndex
|
protected static double |
RtoD
|
protected double |
sourceDepth
source depth in kilometers |
protected double |
time
travel time in seconds |
protected static double |
TWOPI
|
Constructor Summary | |
Arrival(SeismicPhase phase,
double time,
double dist,
double rayParam,
int rayParamIndex,
java.lang.String name,
java.lang.String puristName,
double sourceDepth)
|
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 |
getModuloDist()
returns distance in radians and in the range 0-PI. |
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)
|
SeismicPhase |
getPhase()
|
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected SeismicPhase phase
protected double time
protected double dist
protected double rayParam
protected int rayParamIndex
protected java.lang.String name
protected java.lang.String puristName
protected double sourceDepth
protected TimeDist[] pierce
protected TimeDist[] path
protected static final double TWOPI
protected static final double DtoR
protected static final double RtoD
Constructor Detail |
public Arrival(SeismicPhase phase, double time, double dist, double rayParam, int rayParamIndex, java.lang.String name, java.lang.String puristName, double sourceDepth)
Method Detail |
public SeismicPhase getPhase()
public double getTime()
public double getDist()
public double getDistDeg()
public double getModuloDist()
public double getModuloDistDeg()
public double getRayParam()
public java.lang.String getName()
public java.lang.String getPuristName()
public double getSourceDepth()
public TimeDist[] getPierce()
public TimeDist[] getPath()
public java.lang.Object clone()
public java.lang.String toString()
public int getNumPiercePoints()
public int getNumPathPoints()
public TimeDist getPiercePoint(int i)
public TimeDist getFirstPiercePoint(double depth)
java.lang.ArrayIndexOutOfBoundsException
- if depth is not foundpublic TimeDist getLastPiercePoint(double depth)
java.lang.ArrayIndexOutOfBoundsException
- if depth is not foundpublic TimeDist getPathPoint(int i)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |