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

java.lang.Object
  extended by edu.sc.seis.sod.process.waveform.Merge
      extended by edu.sc.seis.sod.process.waveform.GapFill
All Implemented Interfaces:
WaveformProcess, SodElement, Subsetter, Threadable

public class GapFill
extends Merge


Constructor Summary
GapFill(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.
static int calcNumGapPoints(LocalSeismogramImpl first, LocalSeismogramImpl second)
           
 LocalSeismogramImpl[] gapFill(LocalSeismogramImpl first, LocalSeismogramImpl second)
           
 java.util.List<LocalSeismogramImpl> reduce(java.util.List<LocalSeismogramImpl> inList, MicroSecondTimeRange mstr)
           
 
Methods inherited from class edu.sc.seis.sod.process.waveform.Merge
isThreadSafe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GapFill

public GapFill(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
Overrides:
accept in class Merge
Throws:
java.lang.Exception

reduce

public java.util.List<LocalSeismogramImpl> reduce(java.util.List<LocalSeismogramImpl> inList,
                                                  MicroSecondTimeRange mstr)
                                           throws FissuresException
Throws:
FissuresException

gapFill

public LocalSeismogramImpl[] gapFill(LocalSeismogramImpl first,
                                     LocalSeismogramImpl second)
                              throws FissuresException
Throws:
FissuresException

calcNumGapPoints

public static int calcNumGapPoints(LocalSeismogramImpl first,
                                   LocalSeismogramImpl second)