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

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

public class PhaseCut
extends java.lang.Object
implements WaveformProcess

Cuts seismograms relative to phases. Created: Wed Nov 6 17:58:10 2002


Constructor Summary
PhaseCut(org.w3c.dom.Element config)
           
PhaseCut(PhaseRequest phaseRequest)
           
 
Method Summary
 WaveformResult accept(CacheEvent event, ChannelImpl channel, RequestFilter[] original, RequestFilter[] available, LocalSeismogramImpl[] seismograms, CookieJar cookieJar)
          Cuts the seismograms based on phase arrivals.
static LocalSeismogramImpl[] cut(LocalSeismogramImpl[] seismograms, RequestFilter[] cuts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhaseCut

public PhaseCut(org.w3c.dom.Element config)
         throws ConfigurationException
Throws:
ConfigurationException

PhaseCut

public PhaseCut(PhaseRequest phaseRequest)
         throws ConfigurationException
Throws:
ConfigurationException
Method Detail

accept

public WaveformResult accept(CacheEvent event,
                             ChannelImpl channel,
                             RequestFilter[] original,
                             RequestFilter[] available,
                             LocalSeismogramImpl[] seismograms,
                             CookieJar cookieJar)
                      throws java.lang.Exception
Cuts the seismograms based on phase arrivals.

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

cut

public static LocalSeismogramImpl[] cut(LocalSeismogramImpl[] seismograms,
                                        RequestFilter[] cuts)
                                 throws FissuresException
Throws:
FissuresException