edu.sc.seis.fissuresUtil.bag
Class SimplePhaseStoN
java.lang.Object
edu.sc.seis.fissuresUtil.bag.SimplePhaseStoN
- Direct Known Subclasses:
- CompoundPhaseStoN
public class SimplePhaseStoN
- extends java.lang.Object
Calculates a signal to noise ration around a phase. The short time window
(numerator of the ratio) is given by the standard deviation of the section of the seismogram
from phase + shortOffsetBegin to phase + shortOffsetEnd. The long time
window (demominator of the ratio) is similar. The first arriving phase of
the calculated arrivals is used.
Constructor Summary |
SimplePhaseStoN(java.lang.String phase)
Defaults to plus and minues 5 seconds around the phase for the short
time interval, and the preceeded 100 seconds before that for the long
time interval. |
SimplePhaseStoN(java.lang.String phase,
edu.iris.Fissures.model.TimeInterval shortOffsetBegin,
edu.iris.Fissures.model.TimeInterval shortOffsetEnd,
edu.iris.Fissures.model.TimeInterval longOffsetBegin,
edu.iris.Fissures.model.TimeInterval longOffsetEnd)
|
SimplePhaseStoN(java.lang.String phase,
edu.iris.Fissures.model.TimeInterval shortOffsetBegin,
edu.iris.Fissures.model.TimeInterval shortOffsetEnd,
edu.iris.Fissures.model.TimeInterval longOffsetBegin,
edu.iris.Fissures.model.TimeInterval longOffsetEnd,
TauPUtil taup)
|
Method Summary |
LongShortTrigger |
process(edu.iris.Fissures.Location stationLoc,
edu.iris.Fissures.IfEvent.Origin origin,
edu.iris.Fissures.seismogramDC.LocalSeismogramImpl seis)
Calculates the trigger value for the given wondows. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
phase
protected java.lang.String phase
shortOffsetBegin
protected edu.iris.Fissures.model.TimeInterval shortOffsetBegin
shortOffsetEnd
protected edu.iris.Fissures.model.TimeInterval shortOffsetEnd
longOffsetBegin
protected edu.iris.Fissures.model.TimeInterval longOffsetBegin
longOffsetEnd
protected edu.iris.Fissures.model.TimeInterval longOffsetEnd
shortCut
protected PhaseCut shortCut
longCut
protected PhaseCut longCut
taup
protected TauPUtil taup
SimplePhaseStoN
public SimplePhaseStoN(java.lang.String phase,
edu.iris.Fissures.model.TimeInterval shortOffsetBegin,
edu.iris.Fissures.model.TimeInterval shortOffsetEnd,
edu.iris.Fissures.model.TimeInterval longOffsetBegin,
edu.iris.Fissures.model.TimeInterval longOffsetEnd,
TauPUtil taup)
throws edu.sc.seis.TauP.TauModelException
- Throws:
edu.sc.seis.TauP.TauModelException
SimplePhaseStoN
public SimplePhaseStoN(java.lang.String phase,
edu.iris.Fissures.model.TimeInterval shortOffsetBegin,
edu.iris.Fissures.model.TimeInterval shortOffsetEnd,
edu.iris.Fissures.model.TimeInterval longOffsetBegin,
edu.iris.Fissures.model.TimeInterval longOffsetEnd)
throws edu.sc.seis.TauP.TauModelException
- Throws:
edu.sc.seis.TauP.TauModelException
SimplePhaseStoN
public SimplePhaseStoN(java.lang.String phase)
throws edu.sc.seis.TauP.TauModelException
- Defaults to plus and minues 5 seconds around the phase for the short
time interval, and the preceeded 100 seconds before that for the long
time interval.
- Throws:
edu.sc.seis.TauP.TauModelException
process
public LongShortTrigger process(edu.iris.Fissures.Location stationLoc,
edu.iris.Fissures.IfEvent.Origin origin,
edu.iris.Fissures.seismogramDC.LocalSeismogramImpl seis)
throws edu.iris.Fissures.FissuresException,
edu.sc.seis.TauP.TauModelException,
PhaseNonExistent
- Calculates the trigger value for the given wondows. Returns null if
either of the windows have no data in them.
- Throws:
edu.iris.Fissures.FissuresException
edu.sc.seis.TauP.TauModelException
PhaseNonExistent