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.


Variable Index

 o DEBUG
Enables debugging output.
 o PWAVE
 o SWAVE
 o verbose
Enables verbose output.

Constructor Index

 o SeismicPhase(String, TauModel)

Method Index

 o calcPath(TauModel)
calculates the path this phase takes through the earth model.
 o calcPierce(TauModel)
Calculates the "pierce points" for the arrivals stored in arrivals.
 o calcTime(double)
calculates arrival times for this phase.
 o clone()
Returns an independent clone of the SeismicPhase.
 o closestBranchToDepth(TauModel, String)
Finds the closest discontinuity to the given depth that can have refletions and phase transformations.
 o dump()
 o getArrivals()
Returns arrival time array.
 o getDist()
 o getLegs()
 o getMaxDiffraction()
 o getMaxDistance()
 o getMaxRayParam()
 o getMaxRayParamIndex()
 o getMinDistance()
 o getMinRayParam()
 o getMinRayParamIndex()
 o getName()
 o getPuristName()
 o getRayParams()
 o getTime()
 o hasArrivals()
 o init()
 o main(String[])
 o phaseValidate()
Performs consistency checks on the previously tokenized phase name stored in legs.
 o setDEBUG(boolean)
 o setMaxDiffraction(double)
 o setTauModel(TauModel)
 o toString()

Variables

 o DEBUG
 public transient boolean DEBUG
Enables debugging output.

 o verbose
 public transient boolean verbose
Enables verbose output.

 o PWAVE
 public static final boolean PWAVE
 o SWAVE
 public static final boolean SWAVE

Constructors

 o 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.

Methods

 o hasArrivals
 public boolean hasArrivals()
 o getArrivals
 public Arrival[] getArrivals()
Returns arrival time array.

 o setTauModel
 public void setTauModel(TauModel tMod) throws TauModelException
 o setDEBUG
 public void setDEBUG(boolean DEBUG)
 o getMinDistance
 public double getMinDistance()
 o getMaxDistance
 public double getMaxDistance()
 o getMaxRayParam
 public double getMaxRayParam()
 o getMinRayParam
 public double getMinRayParam()
 o getMaxRayParamIndex
 public int getMaxRayParamIndex()
 o getMinRayParamIndex
 public int getMinRayParamIndex()
 o getMaxDiffraction
 public double getMaxDiffraction()
 o setMaxDiffraction
 public void setMaxDiffraction(double maxDiffraction)
 o getName
 public String getName()
 o getPuristName
 public String getPuristName()
 o getLegs
 public String[] getLegs()
 o getRayParams
 public double[] getRayParams()
 o getDist
 public double[] getDist()
 o getTime
 public double[] getTime()
 o init
 public void init() throws TauModelException
 o calcTime
 public void calcTime(double deg)
calculates arrival times for this phase.

 o 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.
 o 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.

 o calcPath
 public void calcPath(TauModel tMod)
calculates the path this phase takes through the earth model.

 o phaseValidate
 public boolean phaseValidate()
Performs consistency checks on the previously tokenized phase name stored in legs.

 o toString
 public String toString()
 o dump
 public void dump()
 o clone
 public Object clone()
Returns an independent clone of the SeismicPhase.

 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index