edu.sc.seis.sod.process.waveform
Class AbstractWaveformMeasure

java.lang.Object
  extended by edu.sc.seis.sod.process.waveform.AbstractWaveformMeasure
All Implemented Interfaces:
WaveformProcess, SodElement, Subsetter
Direct Known Subclasses:
Mean, MinMax, Rms, Stddev

public abstract class AbstractWaveformMeasure
extends java.lang.Object
implements WaveformProcess


Field Summary
protected  java.lang.String name
           
 
Constructor Summary
AbstractWaveformMeasure(org.w3c.dom.Element config)
           
 
Method Summary
 WaveformResult accept(CacheEvent event, ChannelImpl channel, RequestFilter[] original, RequestFilter[] available, LocalSeismogramImpl[] seismograms, CookieJar cookieJar)
          Processes localSeismograms, possibly modifying them.
protected static float[] toFloatArrayAsIfContinuous(LocalSeismogramImpl[] seis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
Constructor Detail

AbstractWaveformMeasure

public AbstractWaveformMeasure(org.w3c.dom.Element config)
Method Detail

accept

public WaveformResult accept(CacheEvent event,
                             ChannelImpl channel,
                             RequestFilter[] original,
                             RequestFilter[] available,
                             LocalSeismogramImpl[] seismograms,
                             CookieJar cookieJar)
                      throws java.lang.Exception
Description copied from interface: WaveformProcess
Processes localSeismograms, possibly modifying them.

Specified by:
accept in interface WaveformProcess
Throws:
java.lang.Exception

toFloatArrayAsIfContinuous

protected static float[] toFloatArrayAsIfContinuous(LocalSeismogramImpl[] seis)
                                             throws FissuresException
Throws:
FissuresException