Package edu.sc.seis.TauP
Class RayCalculateable
java.lang.Object
edu.sc.seis.TauP.RayCalculateable
- Direct Known Subclasses:
DistanceRay,ShootableRay,TimeRay
Base class for information used to calculate a particular path for a seismic phase. For example distance from
source to receiver, or takeoff angle from source.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Doubleprotected Doubleprotected Stringprotected DistanceCalcprotected edu.sc.seis.seisFile.LatLonLocatableprotected SeismicSourceOptional source args for amp calculations.protected edu.sc.seis.seisFile.LatLonLocatable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculate(SeismicPhase phase) doubleGets azimuth if available, null otherwise.Gets azimuth if available, null otherwise.net.sf.geographiclib.Geodesicabstract LatLonabledoublefloatgetMw()Returns azimuth, if available, in the range -180<baz<=180.Returns back azimuth, if available, in the range -180<baz<=180.intedu.sc.seis.seisFile.LatLonLocatableedu.sc.seis.seisFile.LatLonLocatablebooleanbooleanbooleanbooleanbooleanhasMw()booleanbooleanbooleanbooleanbooleanvoidinsertSeismicSource(edu.sc.seis.seisFile.LatLonLocatable evtLoc) abstract booleanstatic DoublevoidsetAzimuth(Double azimuth) voidsetBackAzimuth(Double backAzimuth) voidsetDescription(String desc) voidsetSeismicSource(SeismicSource source) toString()voidwithEventAzimuth(edu.sc.seis.seisFile.LatLonLocatable evt, double azimuth) voidwithStationBackAzimuth(edu.sc.seis.seisFile.LatLonLocatable sta, double backazimuth)
-
Field Details
-
staLatLon
protected edu.sc.seis.seisFile.LatLonLocatable staLatLon -
evtLatLon
protected edu.sc.seis.seisFile.LatLonLocatable evtLatLon -
azimuth
-
backAzimuth
-
distCalc
-
description
-
seismicSource
Optional source args for amp calculations.
-
-
Constructor Details
-
RayCalculateable
-
-
Method Details
-
insertSeismicSource
public void insertSeismicSource(edu.sc.seis.seisFile.LatLonLocatable evtLoc) -
calculate
- Throws:
TauPException
-
withEventAzimuth
public void withEventAzimuth(edu.sc.seis.seisFile.LatLonLocatable evt, double azimuth) -
withStationBackAzimuth
public void withStationBackAzimuth(edu.sc.seis.seisFile.LatLonLocatable sta, double backazimuth) -
isLatLonable
public abstract boolean isLatLonable() -
getLatLonable
-
hasSourceDepth
public boolean hasSourceDepth() -
getSourceDepth
-
hasSource
public boolean hasSource() -
getSource
public edu.sc.seis.seisFile.LatLonLocatable getSource() -
hasReceiverDepth
public boolean hasReceiverDepth() -
getReceiverDepth
-
hasReceiver
public boolean hasReceiver() -
getReceiver
public edu.sc.seis.seisFile.LatLonLocatable getReceiver() -
hasAzimuth
public boolean hasAzimuth() -
getDistCalc
-
getGeodesic
public net.sf.geographiclib.Geodesic getGeodesic() -
getNormalizedAzimuth
Returns azimuth, if available, in the range -180<baz<=180.- Returns:
- azimuth
-
normalizAzimuth
-
getAzimuth
Gets azimuth if available, null otherwise.- Returns:
- azimuth
-
setAzimuth
-
hasBackAzimuth
public boolean hasBackAzimuth() -
getNormalizedBackAzimuth
Returns back azimuth, if available, in the range -180<baz<=180.- Returns:
- back azimuth
-
getBackAzimuth
Gets azimuth if available, null otherwise.- Returns:
- azimuth
-
setBackAzimuth
-
hasMw
public boolean hasMw() -
getMw
public float getMw() -
getMoment
public double getMoment() -
hasFaultPlane
public boolean hasFaultPlane() -
getFaultPlane
-
getAttenuationFrequency
public double getAttenuationFrequency() -
getNumFrequencies
public int getNumFrequencies() -
hasSeismicSource
public boolean hasSeismicSource() -
setSeismicSource
-
getSeismicSource
-
hasDescription
public boolean hasDescription() -
getDescription
-
setDescription
-
toString
-