edu.sc.seis.fissuresUtil.bag
Class LongShortStoN
java.lang.Object
edu.sc.seis.fissuresUtil.bag.LongShortStoN
public class LongShortStoN
- extends java.lang.Object
Adapted from reftrg.f from Tom Owens and reftrig.c from Passcal.
c
c routine to apply the reftek trigger algorithm
c to a designated SAC file
c LTA is initialized to STA after 2 STA time constants
c Trigger detection begins after trgdly seconds
c
c compile with: f77 reftrg.f $SACDIR/lib/sac.a -f68881
c
c Written by T.J. Owens, August 16, 1988
c
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
longTime
protected TimeInterval longTime
shortTime
protected TimeInterval shortTime
delay
protected TimeInterval delay
threshold
protected float threshold
meanTime
protected TimeInterval meanTime
LongShortStoN
public LongShortStoN(TimeInterval longTime,
TimeInterval shortTime,
float threshold)
- Parameters:
longTime - Time Interval for the long term averageshortTime - Time Interval for the short term averagethreshold - ration of short to long termaverages above which a trigger is declared
LongShortStoN
public LongShortStoN(TimeInterval longTime,
TimeInterval shortTime,
float threshold,
TimeInterval delay)
- Parameters:
longTime - Time Interval for the long term averageshortTime - Time Interval for the short term averagethreshold - ration of short to long termaverages above which a trigger is declared
LongShortStoN
public LongShortStoN(TimeInterval longTime,
TimeInterval shortTime,
float threshold,
TimeInterval delay,
TimeInterval meanTime)
calcTriggers
public LongShortTrigger[] calcTriggers(LocalSeismogramImpl seis)
throws FissuresException
- Throws:
FissuresException
calcTriggersTJO
public LongShortTrigger[] calcTriggersTJO(LocalSeismogramImpl seis)
throws FissuresException
- Throws:
FissuresException