Package edu.sc.seis.sod.process.waveform
Class OregonDSPFilter
java.lang.Object
edu.sc.seis.sod.process.waveform.OregonDSPFilter
- All Implemented Interfaces:
WaveformProcess
,SodElement
,Subsetter
public class OregonDSPFilter extends java.lang.Object implements WaveformProcess
-
Field Summary
-
Constructor Summary
Constructors Constructor Description OregonDSPFilter(java.lang.String filterName, com.oregondsp.signalProcessing.filter.iir.PassbandType passband, double epsilon, edu.sc.seis.sod.model.common.QuantityImpl lowFreqCorner, edu.sc.seis.sod.model.common.QuantityImpl highFreqCorner, int numPoles, int filterType)
OregonDSPFilter(org.w3c.dom.Element config)
OregonDSPFilter(org.w3c.dom.Element config, com.oregondsp.signalProcessing.filter.iir.PassbandType passband, edu.sc.seis.sod.model.common.QuantityImpl lowFreqCorner, edu.sc.seis.sod.model.common.QuantityImpl highFreqCorner)
for use in Decimate where we know passband is lowpass and corner freq is new nyquist but want to configure other settings. -
Method Summary
Modifier and Type Method Description WaveformResult
accept(edu.sc.seis.sod.model.event.CacheEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Channel channel, edu.sc.seis.sod.model.seismogram.RequestFilter[] original, edu.sc.seis.sod.model.seismogram.RequestFilter[] available, edu.sc.seis.sod.model.seismogram.LocalSeismogramImpl[] seismograms, MeasurementStorage cookieJar)
Processes localSeismograms, possibly modifying them.WaveformResult
apply(edu.sc.seis.sod.model.seismogram.LocalSeismogramImpl[] seismograms)
double
getEpsilon()
java.lang.String
getFilterName()
int
getFilterType()
edu.sc.seis.sod.model.common.QuantityImpl
getHighFreqCorner()
edu.sc.seis.sod.model.common.QuantityImpl
getLowFreqCorner()
int
getNumPoles()
com.oregondsp.signalProcessing.filter.iir.PassbandType
getPassband()
boolean
isThreadSafe()
protected void
setHighFreqCorner(edu.sc.seis.sod.model.common.QuantityImpl highFreqCorner)
protected void
setLowFreqCorner(edu.sc.seis.sod.model.common.QuantityImpl lowFreqCorner)
-
Field Details
-
CAUSAL
public static final int CAUSAL- See Also:
- Constant Field Values
-
NONCAUSAL
public static final int NONCAUSAL- See Also:
- Constant Field Values
-
-
Constructor Details
-
OregonDSPFilter
public OregonDSPFilter(java.lang.String filterName, com.oregondsp.signalProcessing.filter.iir.PassbandType passband, double epsilon, edu.sc.seis.sod.model.common.QuantityImpl lowFreqCorner, edu.sc.seis.sod.model.common.QuantityImpl highFreqCorner, int numPoles, int filterType) -
OregonDSPFilter
- Throws:
ConfigurationException
-
OregonDSPFilter
public OregonDSPFilter(org.w3c.dom.Element config, com.oregondsp.signalProcessing.filter.iir.PassbandType passband, edu.sc.seis.sod.model.common.QuantityImpl lowFreqCorner, edu.sc.seis.sod.model.common.QuantityImpl highFreqCorner) throws ConfigurationExceptionfor 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 Details
-
isThreadSafe
public boolean isThreadSafe() -
accept
public WaveformResult accept(edu.sc.seis.sod.model.event.CacheEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Channel channel, edu.sc.seis.sod.model.seismogram.RequestFilter[] original, edu.sc.seis.sod.model.seismogram.RequestFilter[] available, edu.sc.seis.sod.model.seismogram.LocalSeismogramImpl[] seismograms, MeasurementStorage cookieJar) throws java.lang.ExceptionDescription copied from interface:WaveformProcess
Processes localSeismograms, possibly modifying them.- Specified by:
accept
in interfaceWaveformProcess
- Throws:
java.lang.Exception
-
apply
public WaveformResult apply(edu.sc.seis.sod.model.seismogram.LocalSeismogramImpl[] seismograms) throws edu.sc.seis.sod.model.common.FissuresException- Throws:
edu.sc.seis.sod.model.common.FissuresException
-
getFilterName
public java.lang.String getFilterName() -
getPassband
public com.oregondsp.signalProcessing.filter.iir.PassbandType getPassband() -
getEpsilon
public double getEpsilon() -
getLowFreqCorner
public edu.sc.seis.sod.model.common.QuantityImpl getLowFreqCorner() -
setLowFreqCorner
protected void setLowFreqCorner(edu.sc.seis.sod.model.common.QuantityImpl lowFreqCorner) -
getHighFreqCorner
public edu.sc.seis.sod.model.common.QuantityImpl getHighFreqCorner() -
setHighFreqCorner
protected void setHighFreqCorner(edu.sc.seis.sod.model.common.QuantityImpl highFreqCorner) -
getNumPoles
public int getNumPoles() -
getFilterType
public int getFilterType()
-