Package edu.sc.seis.TauP
Interface SeismicPhase
- All Superinterfaces:
Cloneable,Serializable
- All Known Implementing Classes:
CompositeSeismicPhase,FailedSeismicPhase,ScatteredSeismicPhase,SimpleContigSeismicPhase,SimpleSeismicPhase
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbaseDescribe(SeismicPhase phase) doublecalcEnergyFluxFactorReflTranPSV(Arrival arrival) doublecalcEnergyFluxFactorReflTranSH(Arrival arrival) doublecalcIncidentAngle(double arrivalRayParam) doublecalcIncidentAngleDegree(double arrivalRayParam) doublecalcRayParamForIncidentAngle(double incidentDegree) doublecalcRayParamForTakeoffAngle(double takeoffDegree) calcReflTranPSV(Arrival arrival) calcReflTranSH(Arrival arrival) calcSegmentPaths(Arrival currArrival) doublecalcTakeoffAngle(double arrivalRayParam) doublecalcTakeoffAngleDegree(double arrivalRayParam) doubleintcreateArrivalAtIndex(int rayNum) Creates an Arrival for a sampled ray parameter from the model.doubledoubledescribe()voiddump()booleanTrue if the final, incident, wavetype is a P wave, false if an S wave.double[]getDist()doublegetDist(int i) getEarliestArrival(double degrees) static ArrivalgetEarliestArrival(List<SeismicPhase> phases, double degrees) doubledoubledoubleintdoubledoubledoubledoubleintdoublegetName()intdouble[]doublegetRayParams(int i) doubledoubledouble[]getTau()doublegetTau(int i) double[]getTime()doublegetTime(int i) booleaninterpolatePhase(double maxDeltaDeg) interpPierceTimeDist(Arrival arrival) booleanTrue is all segments of this path are only P waves.booleanTrue is all segments of this path are only S waves.booleanisFail()booleanstatic StringsegmentDescribe(SeismicPhase phase) shootRay(double rayParam) booleanTrue if the initial leg, leaving the source, wavetype is a P wave, false if an S wave.static List<double[]>splitForRepeatRayParam(double[] rayParams, double[] values) Split calculated array into segments for repeated ray parameter values, which indicate a discontinuity in the calculations usually due to low velocity zone.toString()doubledouble
-
Field Details
-
PWAVE
static final boolean PWAVE- See Also:
-
SWAVE
static final boolean SWAVE- See Also:
-
-
Method Details
-
phasesExistsInModel
boolean phasesExistsInModel() -
getEarliestArrival
-
getMinDistanceDeg
double getMinDistanceDeg() -
getMinDistance
double getMinDistance() -
getMaxDistanceDeg
double getMaxDistanceDeg() -
getMaxDistance
double getMaxDistance() -
getMaxRayParam
double getMaxRayParam() -
getMinRayParam
double getMinRayParam() -
getMinTime
double getMinTime() -
getMaxTime
double getMaxTime() -
getName
String getName() -
getPuristName
String getPuristName() -
getSourceDepth
double getSourceDepth() -
getReceiverDepth
double getReceiverDepth() -
hasArrivals
boolean hasArrivals() -
describe
String describe() -
describeShort
String describeShort() -
getTauModel
TauModel getTauModel() -
getEarliestArrival
-
isFail
boolean isFail() -
failReason
String failReason() -
getMaxRayParamIndex
int getMaxRayParamIndex() -
getMinRayParamIndex
int getMinRayParamIndex() -
getListPhaseSegments
List<List<SeismicPhaseSegment>> getListPhaseSegments() -
getInitialPhaseSegment
SeismicPhaseSegment getInitialPhaseSegment() -
getFinalPhaseSegment
SeismicPhaseSegment getFinalPhaseSegment() -
countFlatLegs
int countFlatLegs() -
getRayParams
double getRayParams(int i) -
getRayParams
double[] getRayParams() -
getDist
double getDist(int i) -
getDist
double[] getDist() -
getTime
double getTime(int i) -
getTime
double[] getTime() -
getTau
double getTau(int i) -
getTau
double[] getTau() -
createArrivalAtIndex
Creates an Arrival for a sampled ray parameter from the model. No interpolation between rays as this is a sample.- Parameters:
rayNum- index in ray parameters
-
shootRay
- Throws:
TauPException
-
isAllPWave
boolean isAllPWave()True is all segments of this path are only P waves. -
isAllSWave
boolean isAllSWave()True is all segments of this path are only S waves. -
calcRayParamForTakeoffAngle
- Throws:
NoArrivalException
-
calcRayParamForIncidentAngle
- Throws:
NoArrivalException
-
velocityAtSource
double velocityAtSource() -
velocityAtReceiver
double velocityAtReceiver() -
densityAtReceiver
double densityAtReceiver() -
densityAtSource
double densityAtSource() -
calcTakeoffAngleDegree
double calcTakeoffAngleDegree(double arrivalRayParam) -
calcTakeoffAngle
double calcTakeoffAngle(double arrivalRayParam) -
calcIncidentAngle
double calcIncidentAngle(double arrivalRayParam) -
calcIncidentAngleDegree
double calcIncidentAngleDegree(double arrivalRayParam) -
sourceSegmentIsPWave
boolean sourceSegmentIsPWave()True if the initial leg, leaving the source, wavetype is a P wave, false if an S wave. -
finalSegmentIsPWave
boolean finalSegmentIsPWave()True if the final, incident, wavetype is a P wave, false if an S wave. -
calcSegmentPaths
List<ArrivalPathSegment> calcSegmentPaths(Arrival currArrival) throws NoArrivalException, SlownessModelException, TauModelException -
toString
String toString() -
dump
void dump() -
interpolatePhase
-
calcEnergyFluxFactorReflTranPSV
double calcEnergyFluxFactorReflTranPSV(Arrival arrival) throws TauModelException, SlownessModelException, NoArrivalException -
calcEnergyFluxFactorReflTranSH
double calcEnergyFluxFactorReflTranSH(Arrival arrival) throws TauModelException, SlownessModelException, NoArrivalException -
calcReflTranPSV
SeismicPhaseReflTransHolder calcReflTranPSV(Arrival arrival) throws TauModelException, SlownessModelException -
calcReflTranSH
SeismicPhaseReflTransHolder calcReflTranSH(Arrival arrival) throws TauModelException, SlownessModelException -
interpPierceTimeDist
- Throws:
NoArrivalExceptionTauModelException
-
calcTstar
- Throws:
NoArrivalException
-
splitForRepeatRayParam
Split calculated array into segments for repeated ray parameter values, which indicate a discontinuity in the calculations usually due to low velocity zone.- Parameters:
rayParams- ray parameter array for phasevalues- derived array, such as distance, time, tau, etc.- Returns:
- list of arrays for each contiguous segment
-
baseDescribe
-
segmentDescribe
-
getNumRays
int getNumRays() -
getShadowZones
List<ShadowZone> getShadowZones()
-