public class PhaseInteraction extends java.lang.Object implements EventStationSubsetter
| Constructor and Description |
|---|
PhaseInteraction(org.w3c.dom.Element config) |
| Modifier and Type | Method and Description |
|---|---|
StringTree |
accept(CacheEvent event,
StationImpl station,
CookieJar cookieJar) |
boolean |
acceptPathInteraction(CacheEvent event,
StationImpl station) |
boolean |
acceptPierceInteraction(CacheEvent event,
StationImpl station) |
double |
checkForLongway(double distance,
double azimuth) |
boolean |
checkForRelativePathInteraction(edu.sc.seis.TauP.TimeDist[] timeDistArray,
int start,
int end,
double eventStationDistance,
double totalDistance) |
java.util.List<edu.sc.seis.TauP.Arrival> |
getRequiredArrival(java.util.List<edu.sc.seis.TauP.Arrival> arrivals) |
edu.sc.seis.TauP.TimeDist |
getRequiredTimeDist(edu.sc.seis.TauP.TimeDist[] timeDist) |
boolean |
handleAbsolutePhaseInteraction(java.util.List<edu.sc.seis.TauP.Arrival> requiredArrivals,
double azimuth,
OriginImpl origin,
java.lang.String type) |
boolean |
handlePierceRelativePhaseInteraction(java.util.List<edu.sc.seis.TauP.Arrival> requiredArrivals,
double eventStationDistance) |
boolean |
handleRelativePathInteraction(java.util.List<edu.sc.seis.TauP.Arrival> requiredArrivals,
double eventStationDistance) |
public PhaseInteraction(org.w3c.dom.Element config)
throws ConfigurationException
ConfigurationExceptionpublic StringTree accept(CacheEvent event, StationImpl station, CookieJar cookieJar) throws java.lang.Exception
accept in interface EventStationSubsetterjava.lang.Exceptionpublic boolean acceptPathInteraction(CacheEvent event, StationImpl station) throws java.lang.Exception
java.lang.Exceptionpublic boolean acceptPierceInteraction(CacheEvent event, StationImpl station) throws java.lang.Exception
java.lang.Exceptionpublic boolean handlePierceRelativePhaseInteraction(java.util.List<edu.sc.seis.TauP.Arrival> requiredArrivals,
double eventStationDistance)
throws java.lang.Exception
java.lang.Exceptionpublic boolean handleRelativePathInteraction(java.util.List<edu.sc.seis.TauP.Arrival> requiredArrivals,
double eventStationDistance)
throws java.lang.Exception
java.lang.Exceptionpublic boolean checkForRelativePathInteraction(edu.sc.seis.TauP.TimeDist[] timeDistArray,
int start,
int end,
double eventStationDistance,
double totalDistance)
throws java.lang.Exception
java.lang.Exceptionpublic boolean handleAbsolutePhaseInteraction(java.util.List<edu.sc.seis.TauP.Arrival> requiredArrivals,
double azimuth,
OriginImpl origin,
java.lang.String type)
throws java.lang.Exception
java.lang.Exceptionpublic edu.sc.seis.TauP.TimeDist getRequiredTimeDist(edu.sc.seis.TauP.TimeDist[] timeDist)
public java.util.List<edu.sc.seis.TauP.Arrival> getRequiredArrival(java.util.List<edu.sc.seis.TauP.Arrival> arrivals)
public double checkForLongway(double distance,
double azimuth)