Package edu.sc.seis.TauP
Class ScatteredSeismicPhase
- java.lang.Object
-
- edu.sc.seis.TauP.ScatteredSeismicPhase
-
- All Implemented Interfaces:
SeismicPhase
,java.io.Serializable
,java.lang.Cloneable
public class ScatteredSeismicPhase extends java.lang.Object implements SeismicPhase
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScatteredSeismicPhase(Arrival inboundArrival, SimpleSeismicPhase scatteredPhase, double scattererDepth, double scattererDistanceDeg, boolean backscatter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
calcIncidentAngle(double arrivalRayParam)
java.util.List<TimeDist>
calcPathTimeDist(Arrival arrival)
java.util.List<TimeDist>
calcPierceTimeDist(Arrival arrival)
double
calcRayParamForTakeoffAngle(double takeoffDegree)
double
calcReflTran(Arrival arrival)
static double
calcScatterDistDeg(double deg, double scattererDeg, boolean backscatter)
double
calcTakeoffAngle(double arrivalRayParam)
java.util.List<Arrival>
calcTime(double deg)
java.util.List<Arrival>
calcTimeExactDistanceDeg(double deg)
Arrival
createArrivalAtIndex(int rayNum)
Creates an Arrival for a sampled ray parameter from the model.java.lang.String
describe()
java.lang.String
describeJson()
void
dump()
double[]
getDist()
double
getDist(int i)
boolean[]
getDownGoing()
Arrival
getEarliestArrival(double degrees)
int[]
getLegAction()
java.util.List<java.lang.String>
getLegs()
double
getMaxDistance()
double
getMaxDistanceDeg()
double
getMaxRayParam()
int
getMaxRayParamIndex()
double
getMinDistance()
double
getMinDistanceDeg()
double
getMinRayParam()
int
getMinRayParamIndex()
java.lang.String
getName()
java.util.List<SeismicPhaseSegment>
getPhaseSegments()
java.lang.String
getPuristName()
double[]
getRayParams()
double
getRayParams(int i)
double
getReceiverDepth()
int
getScatterDistMulFactor()
double
getScattererDepth()
double
getScattererDistance()
double
getScattererDistanceDeg()
double
getSourceDepth()
double[]
getTau()
double
getTau(int i)
TauModel
getTauModel()
double[]
getTime()
double
getTime(int i)
boolean[]
getWaveType()
boolean
hasArrivals()
boolean
isBackscatter()
boolean
phasesExistsInModel()
Arrival
shootRay(double rayParam)
double
velocityAtReceiver()
double
velocityAtSource()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.sc.seis.TauP.SeismicPhase
toString
-
-
-
-
Constructor Detail
-
ScatteredSeismicPhase
public ScatteredSeismicPhase(Arrival inboundArrival, SimpleSeismicPhase scatteredPhase, double scattererDepth, double scattererDistanceDeg, boolean backscatter)
-
-
Method Detail
-
getScattererDepth
public double getScattererDepth()
-
getScattererDistance
public double getScattererDistance()
-
getScattererDistanceDeg
public double getScattererDistanceDeg()
-
isBackscatter
public boolean isBackscatter()
-
phasesExistsInModel
public boolean phasesExistsInModel()
- Specified by:
phasesExistsInModel
in interfaceSeismicPhase
-
getEarliestArrival
public Arrival getEarliestArrival(double degrees)
- Specified by:
getEarliestArrival
in interfaceSeismicPhase
-
getTauModel
public TauModel getTauModel()
- Specified by:
getTauModel
in interfaceSeismicPhase
-
getMinDistanceDeg
public double getMinDistanceDeg()
- Specified by:
getMinDistanceDeg
in interfaceSeismicPhase
-
getMinDistance
public double getMinDistance()
- Specified by:
getMinDistance
in interfaceSeismicPhase
-
getMaxDistanceDeg
public double getMaxDistanceDeg()
- Specified by:
getMaxDistanceDeg
in interfaceSeismicPhase
-
getMaxDistance
public double getMaxDistance()
- Specified by:
getMaxDistance
in interfaceSeismicPhase
-
getScatterDistMulFactor
public int getScatterDistMulFactor()
-
getMaxRayParam
public double getMaxRayParam()
- Specified by:
getMaxRayParam
in interfaceSeismicPhase
-
getMinRayParam
public double getMinRayParam()
- Specified by:
getMinRayParam
in interfaceSeismicPhase
-
getMaxRayParamIndex
public int getMaxRayParamIndex()
- Specified by:
getMaxRayParamIndex
in interfaceSeismicPhase
-
getMinRayParamIndex
public int getMinRayParamIndex()
- Specified by:
getMinRayParamIndex
in interfaceSeismicPhase
-
getSourceDepth
public double getSourceDepth()
- Specified by:
getSourceDepth
in interfaceSeismicPhase
-
getReceiverDepth
public double getReceiverDepth()
- Specified by:
getReceiverDepth
in interfaceSeismicPhase
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceSeismicPhase
-
getPuristName
public java.lang.String getPuristName()
- Specified by:
getPuristName
in interfaceSeismicPhase
-
getLegs
public java.util.List<java.lang.String> getLegs()
- Specified by:
getLegs
in interfaceSeismicPhase
-
getPhaseSegments
public java.util.List<SeismicPhaseSegment> getPhaseSegments()
- Specified by:
getPhaseSegments
in interfaceSeismicPhase
-
getRayParams
public double getRayParams(int i)
- Specified by:
getRayParams
in interfaceSeismicPhase
-
getRayParams
public double[] getRayParams()
- Specified by:
getRayParams
in interfaceSeismicPhase
-
getDist
public double getDist(int i)
- Specified by:
getDist
in interfaceSeismicPhase
-
getDist
public double[] getDist()
- Specified by:
getDist
in interfaceSeismicPhase
-
getTime
public double getTime(int i)
- Specified by:
getTime
in interfaceSeismicPhase
-
getTime
public double[] getTime()
- Specified by:
getTime
in interfaceSeismicPhase
-
getTau
public double getTau(int i)
- Specified by:
getTau
in interfaceSeismicPhase
-
getTau
public double[] getTau()
- Specified by:
getTau
in interfaceSeismicPhase
-
getDownGoing
public boolean[] getDownGoing()
- Specified by:
getDownGoing
in interfaceSeismicPhase
-
getWaveType
public boolean[] getWaveType()
- Specified by:
getWaveType
in interfaceSeismicPhase
-
getLegAction
public int[] getLegAction()
- Specified by:
getLegAction
in interfaceSeismicPhase
-
hasArrivals
public boolean hasArrivals()
- Specified by:
hasArrivals
in interfaceSeismicPhase
-
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
- Parameters:
rayNum
-- Returns:
-
calcTimeExactDistanceDeg
public java.util.List<Arrival> calcTimeExactDistanceDeg(double deg)
- Specified by:
calcTimeExactDistanceDeg
in interfaceSeismicPhase
-
calcTime
public java.util.List<Arrival> calcTime(double deg)
- Specified by:
calcTime
in interfaceSeismicPhase
-
calcScatterDistDeg
public static double calcScatterDistDeg(double deg, double scattererDeg, boolean backscatter)
-
shootRay
public Arrival shootRay(double rayParam) throws SlownessModelException, NoSuchLayerException
- Specified by:
shootRay
in interfaceSeismicPhase
- Throws:
SlownessModelException
NoSuchLayerException
-
calcRayParamForTakeoffAngle
public double calcRayParamForTakeoffAngle(double takeoffDegree)
- Specified by:
calcRayParamForTakeoffAngle
in interfaceSeismicPhase
-
velocityAtSource
public double velocityAtSource()
- Specified by:
velocityAtSource
in interfaceSeismicPhase
-
velocityAtReceiver
public double velocityAtReceiver()
- Specified by:
velocityAtReceiver
in interfaceSeismicPhase
-
calcTakeoffAngle
public double calcTakeoffAngle(double arrivalRayParam)
- Specified by:
calcTakeoffAngle
in interfaceSeismicPhase
-
calcIncidentAngle
public double calcIncidentAngle(double arrivalRayParam)
- Specified by:
calcIncidentAngle
in interfaceSeismicPhase
-
describe
public java.lang.String describe()
- Specified by:
describe
in interfaceSeismicPhase
-
describeJson
public java.lang.String describeJson()
- Specified by:
describeJson
in interfaceSeismicPhase
-
dump
public void dump()
- Specified by:
dump
in interfaceSeismicPhase
-
calcPierceTimeDist
public java.util.List<TimeDist> calcPierceTimeDist(Arrival arrival)
- Specified by:
calcPierceTimeDist
in interfaceSeismicPhase
-
calcReflTran
public double calcReflTran(Arrival arrival)
- Specified by:
calcReflTran
in interfaceSeismicPhase
-
calcPathTimeDist
public java.util.List<TimeDist> calcPathTimeDist(Arrival arrival)
- Specified by:
calcPathTimeDist
in interfaceSeismicPhase
-
-