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 doublecalcEnergyFluxFactorReflTranPSV(Arrival arrival)doublecalcEnergyFluxFactorReflTranSH(Arrival arrival)java.util.List<ArrivalPathSegment>calcSegmentPaths(Arrival currArrival)ArrivalcreateArrivalAtIndex(int rayNum)Creates an Arrival for a sampled ray parameter from the model.java.lang.Stringdescribe()java.lang.StringdescribeShort()static FailedSeismicPhasefailForReason(java.lang.String phaseName, TauModel tMod, double receiverDepth, java.lang.String failReason)java.lang.StringfailReason()intgetNumRays()booleanhasArrivals()java.util.List<TimeDist>interpPierceTimeDist(Arrival arrival)booleanisFail()booleanphasesExistsInModel()ArrivalshootRay(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:
phasesExistsInModelin interfaceSeismicPhase- Overrides:
phasesExistsInModelin classSimpleContigSeismicPhase
-
isFail
public boolean isFail()
- Specified by:
isFailin interfaceSeismicPhase- Overrides:
isFailin classSimpleContigSeismicPhase
-
failReason
public java.lang.String failReason()
- Specified by:
failReasonin interfaceSeismicPhase- Overrides:
failReasonin classSimpleContigSeismicPhase
-
hasArrivals
public boolean hasArrivals()
- Specified by:
hasArrivalsin interfaceSeismicPhase- Overrides:
hasArrivalsin 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:
createArrivalAtIndexin interfaceSeismicPhase- Overrides:
createArrivalAtIndexin classSimpleContigSeismicPhase- Parameters:
rayNum- index in ray parameters
-
shootRay
public Arrival shootRay(double rayParam)
- Specified by:
shootRayin interfaceSeismicPhase- Overrides:
shootRayin classSimpleContigSeismicPhase
-
calcSegmentPaths
public java.util.List<ArrivalPathSegment> calcSegmentPaths(Arrival currArrival)
- Specified by:
calcSegmentPathsin interfaceSeismicPhase- Overrides:
calcSegmentPathsin classSimpleSeismicPhase
-
describe
public java.lang.String describe()
- Specified by:
describein interfaceSeismicPhase- Overrides:
describein classSimpleContigSeismicPhase
-
describeShort
public java.lang.String describeShort()
- Specified by:
describeShortin interfaceSeismicPhase- Overrides:
describeShortin classSimpleContigSeismicPhase
-
calcEnergyFluxFactorReflTranPSV
public double calcEnergyFluxFactorReflTranPSV(Arrival arrival)
- Specified by:
calcEnergyFluxFactorReflTranPSVin interfaceSeismicPhase- Overrides:
calcEnergyFluxFactorReflTranPSVin classSimpleContigSeismicPhase
-
calcEnergyFluxFactorReflTranSH
public double calcEnergyFluxFactorReflTranSH(Arrival arrival)
- Specified by:
calcEnergyFluxFactorReflTranSHin interfaceSeismicPhase- Overrides:
calcEnergyFluxFactorReflTranSHin classSimpleContigSeismicPhase
-
interpPierceTimeDist
public java.util.List<TimeDist> interpPierceTimeDist(Arrival arrival)
- Specified by:
interpPierceTimeDistin interfaceSeismicPhase- Overrides:
interpPierceTimeDistin classSimpleContigSeismicPhase
-
getNumRays
public int getNumRays()
- Specified by:
getNumRaysin interfaceSeismicPhase- Overrides:
getNumRaysin classSimpleContigSeismicPhase
-
-