Package edu.sc.seis.TauP
Class FailedSeismicPhase
- java.lang.Object
-
- edu.sc.seis.TauP.SimpleSeismicPhase
-
- edu.sc.seis.TauP.SimpleContigSeismicPhase
-
- edu.sc.seis.TauP.FailedSeismicPhase
-
- All Implemented Interfaces:
SeismicPhase
,java.io.Serializable
,java.lang.Cloneable
public class FailedSeismicPhase extends SimpleContigSeismicPhase
Represents a seismic phase that doesn't exist in the model, either malformed or not compatible with the broad structure of the model.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class edu.sc.seis.TauP.SimpleContigSeismicPhase
DEBUG, dist, maxDistance, maxRayParam, maxRayParamIndex, maxRecursion, minDistance, minRayParam, minRayParamIndex, name, puristName, rayParams, receiverDepth, refineDistToleranceRadian, sourceDepth, time, tMod, verbose
-
Fields inherited from interface edu.sc.seis.TauP.SeismicPhase
PWAVE, SWAVE
-
-
Constructor Summary
Constructors Constructor Description FailedSeismicPhase(ProtoSeismicPhase proto)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
calcEnergyFluxFactorReflTranPSV(Arrival arrival)
double
calcEnergyFluxFactorReflTranSH(Arrival arrival)
java.util.List<ArrivalPathSegment>
calcSegmentPaths(Arrival currArrival)
Arrival
createArrivalAtIndex(int rayNum)
Creates an Arrival for a sampled ray parameter from the model.java.lang.String
describe()
java.lang.String
describeShort()
static FailedSeismicPhase
failForReason(java.lang.String phaseName, TauModel tMod, double receiverDepth, java.lang.String failReason)
java.lang.String
failReason()
int
getNumRays()
boolean
hasArrivals()
java.util.List<TimeDist>
interpPierceTimeDist(Arrival arrival)
boolean
isFail()
boolean
phasesExistsInModel()
Arrival
shootRay(double rayParam)
-
Methods inherited from class edu.sc.seis.TauP.SimpleContigSeismicPhase
calcIncidentAngle, calcIncidentAngleDegree, calcRayParamForIncidentAngle, calcRayParamForIncidentAngleInModel, calcRayParamForTakeoffAngle, calcRayParamForTakeoffAngleInModel, calcTakeoffAngle, calcTakeoffAngleDegree, calcTimeExactDistance, calcTstar, countFlatLegs, densityAtReceiver, densityAtSource, dump, finalSegmentIsPWave, getDist, getDist, getEarliestArrival, getFinalPhaseSegment, getInitialPhaseSegment, getListPhaseSegments, getMaxDistance, getMaxDistanceDeg, getMaxRayParam, getMaxRayParamIndex, getMaxTime, getMinDistance, getMinDistanceDeg, getMinRayParam, getMinRayParamIndex, getMinTime, getName, getPhaseSegments, getProto, getPuristName, getRayParams, getRayParams, getReceiverDepth, getShadowZones, getSourceDepth, getTau, getTau, getTauModel, getTime, getTime, gettMod, interpolatePhase, interpolateSimplePhase, isAllPWave, isAllSWave, refineArrival, refineArrival, removeDuplicatePathPoints, sourceSegmentIsPWave, toString, velocityAtReceiver, velocityAtSource
-
Methods inherited from class edu.sc.seis.TauP.SimpleSeismicPhase
calcSegmentPaths
-
-
-
-
Constructor Detail
-
FailedSeismicPhase
public FailedSeismicPhase(ProtoSeismicPhase proto)
-
-
Method Detail
-
failForReason
public static FailedSeismicPhase failForReason(java.lang.String phaseName, TauModel tMod, double receiverDepth, java.lang.String failReason)
-
phasesExistsInModel
public boolean phasesExistsInModel()
- Specified by:
phasesExistsInModel
in interfaceSeismicPhase
- Overrides:
phasesExistsInModel
in classSimpleContigSeismicPhase
-
isFail
public boolean isFail()
- Specified by:
isFail
in interfaceSeismicPhase
- Overrides:
isFail
in classSimpleContigSeismicPhase
-
failReason
public java.lang.String failReason()
- Specified by:
failReason
in interfaceSeismicPhase
- Overrides:
failReason
in classSimpleContigSeismicPhase
-
hasArrivals
public boolean hasArrivals()
- Specified by:
hasArrivals
in interfaceSeismicPhase
- Overrides:
hasArrivals
in classSimpleContigSeismicPhase
-
createArrivalAtIndex
public Arrival createArrivalAtIndex(int rayNum)
Creates an Arrival for a sampled ray parameter from the model. No interpolation between rays as this is a sample.- Specified by:
createArrivalAtIndex
in interfaceSeismicPhase
- Overrides:
createArrivalAtIndex
in classSimpleContigSeismicPhase
- Parameters:
rayNum
- index in ray parameters
-
shootRay
public Arrival shootRay(double rayParam)
- Specified by:
shootRay
in interfaceSeismicPhase
- Overrides:
shootRay
in classSimpleContigSeismicPhase
-
calcSegmentPaths
public java.util.List<ArrivalPathSegment> calcSegmentPaths(Arrival currArrival)
- Specified by:
calcSegmentPaths
in interfaceSeismicPhase
- Overrides:
calcSegmentPaths
in classSimpleSeismicPhase
-
describe
public java.lang.String describe()
- Specified by:
describe
in interfaceSeismicPhase
- Overrides:
describe
in classSimpleContigSeismicPhase
-
describeShort
public java.lang.String describeShort()
- Specified by:
describeShort
in interfaceSeismicPhase
- Overrides:
describeShort
in classSimpleContigSeismicPhase
-
calcEnergyFluxFactorReflTranPSV
public double calcEnergyFluxFactorReflTranPSV(Arrival arrival)
- Specified by:
calcEnergyFluxFactorReflTranPSV
in interfaceSeismicPhase
- Overrides:
calcEnergyFluxFactorReflTranPSV
in classSimpleContigSeismicPhase
-
calcEnergyFluxFactorReflTranSH
public double calcEnergyFluxFactorReflTranSH(Arrival arrival)
- Specified by:
calcEnergyFluxFactorReflTranSH
in interfaceSeismicPhase
- Overrides:
calcEnergyFluxFactorReflTranSH
in classSimpleContigSeismicPhase
-
interpPierceTimeDist
public java.util.List<TimeDist> interpPierceTimeDist(Arrival arrival)
- Specified by:
interpPierceTimeDist
in interfaceSeismicPhase
- Overrides:
interpPierceTimeDist
in classSimpleContigSeismicPhase
-
getNumRays
public int getNumRays()
- Specified by:
getNumRays
in interfaceSeismicPhase
- Overrides:
getNumRays
in classSimpleContigSeismicPhase
-
-