All Packages Class Hierarchy This Package Previous Next Index
Class edu.sc.seis.TauP.SeismicPhase
edu.sc.seis.TauP.SeismicPhase
- public class SeismicPhase
Stores and transforms seismic phase names to and from their
corresponding sequence of branches.
-
DEBUG
- Enables debugging output.
-
PWAVE
-
-
SWAVE
-
-
verbose
- Enables verbose output.
-
SeismicPhase(String, TauModel)
-
-
calcPath(TauModel)
- calculates the path this phase takes through the earth model.
-
calcPierce(TauModel)
- Calculates the "pierce points" for the arrivals stored in arrivals.
-
calcTime(double)
- calculates arrival times for this phase.
-
clone()
- Returns an independent clone of the SeismicPhase.
-
closestBranchToDepth(TauModel, String)
- Finds the closest discontinuity to the given depth that can
have refletions and phase transformations.
-
dump()
-
-
getArrivals()
- Returns arrival time array.
-
getDist()
-
-
getLegs()
-
-
getMaxDiffraction()
-
-
getMaxDistance()
-
-
getMaxRayParam()
-
-
getMaxRayParamIndex()
-
-
getMinDistance()
-
-
getMinRayParam()
-
-
getMinRayParamIndex()
-
-
getName()
-
-
getPuristName()
-
-
getRayParams()
-
-
getTime()
-
-
hasArrivals()
-
-
init()
-
-
main(String[])
-
-
phaseValidate()
- Performs consistency checks on the previously tokenized phase name
stored in legs.
-
setDEBUG(boolean)
-
-
setMaxDiffraction(double)
-
-
setTauModel(TauModel)
-
-
toString()
-
DEBUG
public transient boolean DEBUG
- Enables debugging output.
verbose
public transient boolean verbose
- Enables verbose output.
PWAVE
public static final boolean PWAVE
SWAVE
public static final boolean SWAVE
SeismicPhase
public SeismicPhase(String name,
TauModel tMod)
- Parameters:
- phaseName - String containing a name of the phase.
- tMod - Tau model to be used to construct the phase.
hasArrivals
public boolean hasArrivals()
getArrivals
public Arrival[] getArrivals()
- Returns arrival time array.
setTauModel
public void setTauModel(TauModel tMod) throws TauModelException
setDEBUG
public void setDEBUG(boolean DEBUG)
getMinDistance
public double getMinDistance()
getMaxDistance
public double getMaxDistance()
getMaxRayParam
public double getMaxRayParam()
getMinRayParam
public double getMinRayParam()
getMaxRayParamIndex
public int getMaxRayParamIndex()
getMinRayParamIndex
public int getMinRayParamIndex()
getMaxDiffraction
public double getMaxDiffraction()
setMaxDiffraction
public void setMaxDiffraction(double maxDiffraction)
getName
public String getName()
getPuristName
public String getPuristName()
getLegs
public String[] getLegs()
getRayParams
public double[] getRayParams()
getDist
public double[] getDist()
getTime
public double[] getTime()
init
public void init() throws TauModelException
calcTime
public void calcTime(double deg)
- calculates arrival times for this phase.
closestBranchToDepth
public int closestBranchToDepth(TauModel tMod,
String depthString)
- Finds the closest discontinuity to the given depth that can
have refletions and phase transformations.
- Returns:
- s the branch number with the closest top depth.
calcPierce
public void calcPierce(TauModel tMod) throws TauModelException
- Calculates the "pierce points" for the arrivals stored in arrivals.
The pierce points are stored within each arrival object.
calcPath
public void calcPath(TauModel tMod)
- calculates the path this phase takes through the earth model.
phaseValidate
public boolean phaseValidate()
- Performs consistency checks on the previously tokenized phase name
stored in legs.
toString
public String toString()
dump
public void dump()
clone
public Object clone()
- Returns an independent clone of the SeismicPhase.
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index