|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sc.seis.TauP.Arrival
public class 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 double |
incidentAngle
|
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 |
takeoffAngle
|
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,
double takeoffAngle,
double incidentAngle)
|
Method Summary | |
---|---|
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. |
double |
getIncidentAngle()
|
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 |
getRayParamDeg()
returns ray parameter in seconds per deg |
int |
getRayParamIndex()
|
double |
getSourceDepth()
returns source depth in kilometers |
double |
getTakeoffAngle()
|
double |
getTime()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, 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 double incidentAngle
protected double takeoffAngle
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, double takeoffAngle, double incidentAngle)
Method Detail |
---|
public SeismicPhase getPhase()
public double getTime()
public double getDist()
public double getDistDeg()
public double getModuloDist()
public double getModuloDistDeg()
public double getRayParam()
public double getRayParamDeg()
public double getIncidentAngle()
public double getTakeoffAngle()
public int getRayParamIndex()
public java.lang.String getName()
public java.lang.String getPuristName()
public double getSourceDepth()
public TimeDist[] getPierce()
public TimeDist[] getPath()
public java.lang.String toString()
toString
in class java.lang.Object
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 |