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 doublecalcIncidentAngle(double arrivalRayParam)java.util.List<TimeDist>calcPathTimeDist(Arrival arrival)java.util.List<TimeDist>calcPierceTimeDist(Arrival arrival)doublecalcRayParamForTakeoffAngle(double takeoffDegree)doublecalcReflTran(Arrival arrival)static doublecalcScatterDistDeg(double deg, double scattererDeg, boolean backscatter)doublecalcTakeoffAngle(double arrivalRayParam)java.util.List<Arrival>calcTime(double deg)java.util.List<Arrival>calcTimeExactDistanceDeg(double deg)ArrivalcreateArrivalAtIndex(int rayNum)Creates an Arrival for a sampled ray parameter from the model.doubledensityAtReceiver()java.lang.Stringdescribe()java.lang.StringdescribeJson()voiddump()double[]getDist()doublegetDist(int i)boolean[]getDownGoing()ArrivalgetEarliestArrival(double degrees)int[]getLegAction()java.util.List<java.lang.String>getLegs()doublegetMaxDistance()doublegetMaxDistanceDeg()doublegetMaxRayParam()intgetMaxRayParamIndex()doublegetMinDistance()doublegetMinDistanceDeg()doublegetMinRayParam()intgetMinRayParamIndex()java.lang.StringgetName()java.util.List<SeismicPhaseSegment>getPhaseSegments()java.lang.StringgetPuristName()double[]getRayParams()doublegetRayParams(int i)doublegetReceiverDepth()intgetScatterDistMulFactor()doublegetScattererDepth()doublegetScattererDistance()doublegetScattererDistanceDeg()doublegetSourceDepth()double[]getTau()doublegetTau(int i)TauModelgetTauModel()double[]getTime()doublegetTime(int i)boolean[]getWaveType()booleanhasArrivals()booleanisBackscatter()booleanphasesExistsInModel()ArrivalshootRay(double rayParam)doublevelocityAtReceiver()doublevelocityAtSource()-
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:
phasesExistsInModelin interfaceSeismicPhase
-
getEarliestArrival
public Arrival getEarliestArrival(double degrees)
- Specified by:
getEarliestArrivalin interfaceSeismicPhase
-
getTauModel
public TauModel getTauModel()
- Specified by:
getTauModelin interfaceSeismicPhase
-
getMinDistanceDeg
public double getMinDistanceDeg()
- Specified by:
getMinDistanceDegin interfaceSeismicPhase
-
getMinDistance
public double getMinDistance()
- Specified by:
getMinDistancein interfaceSeismicPhase
-
getMaxDistanceDeg
public double getMaxDistanceDeg()
- Specified by:
getMaxDistanceDegin interfaceSeismicPhase
-
getMaxDistance
public double getMaxDistance()
- Specified by:
getMaxDistancein interfaceSeismicPhase
-
getScatterDistMulFactor
public int getScatterDistMulFactor()
-
getMaxRayParam
public double getMaxRayParam()
- Specified by:
getMaxRayParamin interfaceSeismicPhase
-
getMinRayParam
public double getMinRayParam()
- Specified by:
getMinRayParamin interfaceSeismicPhase
-
getMaxRayParamIndex
public int getMaxRayParamIndex()
- Specified by:
getMaxRayParamIndexin interfaceSeismicPhase
-
getMinRayParamIndex
public int getMinRayParamIndex()
- Specified by:
getMinRayParamIndexin interfaceSeismicPhase
-
getSourceDepth
public double getSourceDepth()
- Specified by:
getSourceDepthin interfaceSeismicPhase
-
getReceiverDepth
public double getReceiverDepth()
- Specified by:
getReceiverDepthin interfaceSeismicPhase
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceSeismicPhase
-
getPuristName
public java.lang.String getPuristName()
- Specified by:
getPuristNamein interfaceSeismicPhase
-
getLegs
public java.util.List<java.lang.String> getLegs()
- Specified by:
getLegsin interfaceSeismicPhase
-
getPhaseSegments
public java.util.List<SeismicPhaseSegment> getPhaseSegments()
- Specified by:
getPhaseSegmentsin interfaceSeismicPhase
-
getRayParams
public double getRayParams(int i)
- Specified by:
getRayParamsin interfaceSeismicPhase
-
getRayParams
public double[] getRayParams()
- Specified by:
getRayParamsin interfaceSeismicPhase
-
getDist
public double getDist(int i)
- Specified by:
getDistin interfaceSeismicPhase
-
getDist
public double[] getDist()
- Specified by:
getDistin interfaceSeismicPhase
-
getTime
public double getTime(int i)
- Specified by:
getTimein interfaceSeismicPhase
-
getTime
public double[] getTime()
- Specified by:
getTimein interfaceSeismicPhase
-
getTau
public double getTau(int i)
- Specified by:
getTauin interfaceSeismicPhase
-
getTau
public double[] getTau()
- Specified by:
getTauin interfaceSeismicPhase
-
getDownGoing
public boolean[] getDownGoing()
- Specified by:
getDownGoingin interfaceSeismicPhase
-
getWaveType
public boolean[] getWaveType()
- Specified by:
getWaveTypein interfaceSeismicPhase
-
getLegAction
public int[] getLegAction()
- Specified by:
getLegActionin interfaceSeismicPhase
-
hasArrivals
public boolean hasArrivals()
- Specified by:
hasArrivalsin 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:
createArrivalAtIndexin interfaceSeismicPhase- Parameters:
rayNum-- Returns:
-
calcTimeExactDistanceDeg
public java.util.List<Arrival> calcTimeExactDistanceDeg(double deg)
- Specified by:
calcTimeExactDistanceDegin interfaceSeismicPhase
-
calcTime
public java.util.List<Arrival> calcTime(double deg)
- Specified by:
calcTimein interfaceSeismicPhase
-
calcScatterDistDeg
public static double calcScatterDistDeg(double deg, double scattererDeg, boolean backscatter)
-
shootRay
public Arrival shootRay(double rayParam) throws SlownessModelException, NoSuchLayerException
- Specified by:
shootRayin interfaceSeismicPhase- Throws:
SlownessModelExceptionNoSuchLayerException
-
calcRayParamForTakeoffAngle
public double calcRayParamForTakeoffAngle(double takeoffDegree)
- Specified by:
calcRayParamForTakeoffAnglein interfaceSeismicPhase
-
velocityAtSource
public double velocityAtSource()
- Specified by:
velocityAtSourcein interfaceSeismicPhase
-
velocityAtReceiver
public double velocityAtReceiver()
- Specified by:
velocityAtReceiverin interfaceSeismicPhase
-
densityAtReceiver
public double densityAtReceiver()
- Specified by:
densityAtReceiverin interfaceSeismicPhase
-
calcTakeoffAngle
public double calcTakeoffAngle(double arrivalRayParam)
- Specified by:
calcTakeoffAnglein interfaceSeismicPhase
-
calcIncidentAngle
public double calcIncidentAngle(double arrivalRayParam)
- Specified by:
calcIncidentAnglein interfaceSeismicPhase
-
describe
public java.lang.String describe()
- Specified by:
describein interfaceSeismicPhase
-
describeJson
public java.lang.String describeJson()
- Specified by:
describeJsonin interfaceSeismicPhase
-
dump
public void dump()
- Specified by:
dumpin interfaceSeismicPhase
-
calcPierceTimeDist
public java.util.List<TimeDist> calcPierceTimeDist(Arrival arrival)
- Specified by:
calcPierceTimeDistin interfaceSeismicPhase
-
calcReflTran
public double calcReflTran(Arrival arrival)
- Specified by:
calcReflTranin interfaceSeismicPhase
-
calcPathTimeDist
public java.util.List<TimeDist> calcPathTimeDist(Arrival arrival)
- Specified by:
calcPathTimeDistin interfaceSeismicPhase
-
-