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
ConfigurationException
public StringTree accept(CacheEvent event, StationImpl station, CookieJar cookieJar) throws java.lang.Exception
accept
in interface EventStationSubsetter
java.lang.Exception
public boolean acceptPathInteraction(CacheEvent event, StationImpl station) throws java.lang.Exception
java.lang.Exception
public boolean acceptPierceInteraction(CacheEvent event, StationImpl station) throws java.lang.Exception
java.lang.Exception
public boolean handlePierceRelativePhaseInteraction(java.util.List<edu.sc.seis.TauP.Arrival> requiredArrivals, double eventStationDistance) throws java.lang.Exception
java.lang.Exception
public boolean handleRelativePathInteraction(java.util.List<edu.sc.seis.TauP.Arrival> requiredArrivals, double eventStationDistance) throws java.lang.Exception
java.lang.Exception
public boolean checkForRelativePathInteraction(edu.sc.seis.TauP.TimeDist[] timeDistArray, int start, int end, double eventStationDistance, double totalDistance) throws java.lang.Exception
java.lang.Exception
public 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.Exception
public 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)