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

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

public class OregonDSPFilter
extends java.lang.Object
implements WaveformProcess


Constructor Summary
OregonDSPFilter(org.w3c.dom.Element config)
           
OregonDSPFilter(org.w3c.dom.Element config, com.oregondsp.signalProcessing.filter.iir.PassbandType passband, QuantityImpl lowFreqCorner, QuantityImpl highFreqCorner)
          for use in Decimate where we know passband is lowpass and corner freq is new nyquist but want to configure other settings.
OregonDSPFilter(java.lang.String filterName, com.oregondsp.signalProcessing.filter.iir.PassbandType passband, double epsilon, QuantityImpl lowFreqCorner, QuantityImpl highFreqCorner, int numPoles, int filterType)
           
 
Method Summary
 WaveformResult accept(CacheEvent event, ChannelImpl channel, RequestFilter[] original, RequestFilter[] available, LocalSeismogramImpl[] seismograms, CookieJar cookieJar)
          Processes localSeismograms, possibly modifying them.
 WaveformResult apply(LocalSeismogramImpl[] seismograms)
           
 double getEpsilon()
           
 java.lang.String getFilterName()
           
 int getFilterType()
           
 QuantityImpl getHighFreqCorner()
           
 QuantityImpl getLowFreqCorner()
           
 int getNumPoles()
           
 com.oregondsp.signalProcessing.filter.iir.PassbandType getPassband()
           
 boolean isThreadSafe()
           
protected  void setHighFreqCorner(QuantityImpl highFreqCorner)
           
protected  void setLowFreqCorner(QuantityImpl lowFreqCorner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OregonDSPFilter

public OregonDSPFilter(java.lang.String filterName,
                       com.oregondsp.signalProcessing.filter.iir.PassbandType passband,
                       double epsilon,
                       QuantityImpl lowFreqCorner,
                       QuantityImpl highFreqCorner,
                       int numPoles,
                       int filterType)

OregonDSPFilter

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

OregonDSPFilter

public OregonDSPFilter(org.w3c.dom.Element config,
                       com.oregondsp.signalProcessing.filter.iir.PassbandType passband,
                       QuantityImpl lowFreqCorner,
                       QuantityImpl highFreqCorner)
                throws ConfigurationException
for use in Decimate where we know passband is lowpass and corner freq is new nyquist but want to configure other settings.

Parameters:
config -
passband -
lowFreqCorner -
highFreqCorner -
Throws:
ConfigurationException
Method Detail

isThreadSafe

public boolean isThreadSafe()

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

apply

public WaveformResult apply(LocalSeismogramImpl[] seismograms)
                     throws FissuresException
Throws:
FissuresException

getFilterName

public java.lang.String getFilterName()

getPassband

public com.oregondsp.signalProcessing.filter.iir.PassbandType getPassband()

getEpsilon

public double getEpsilon()

getLowFreqCorner

public QuantityImpl getLowFreqCorner()

setLowFreqCorner

protected void setLowFreqCorner(QuantityImpl lowFreqCorner)

getHighFreqCorner

public QuantityImpl getHighFreqCorner()

setHighFreqCorner

protected void setHighFreqCorner(QuantityImpl highFreqCorner)

getNumPoles

public int getNumPoles()

getFilterType

public int getFilterType()