edu.sc.seis.fissuresUtil.freq
Class GaussianFilter

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.freq.GaussianFilter
All Implemented Interfaces:
FrequencyDomainProcess

public class GaussianFilter
extends java.lang.Object
implements FrequencyDomainProcess


Field Summary
 double alpha
           
 double centFreq
           
 java.lang.String errorMessage
           
 
Constructor Summary
GaussianFilter(double centFreq, double alpha)
          constructor
 
Method Summary
 Cmplx[] apply(double dtime, Cmplx[] cz)
          function to do gaussian filter in frequency domain
 void checkSettings()
          Method to check settings
 void setAlpha(double alphaValue)
          Method to set alpha
 void setAlpha(java.lang.String str)
          Method to set alpha
 void setCentFreq(double freqValue)
          Method to set center frequency
 void setCentFreq(java.lang.String str)
          Method to set center frequency
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

centFreq

public double centFreq

alpha

public double alpha

errorMessage

public java.lang.String errorMessage
Constructor Detail

GaussianFilter

public GaussianFilter(double centFreq,
                      double alpha)
constructor

Method Detail

setCentFreq

public void setCentFreq(double freqValue)
                 throws edu.sc.seis.fissuresUtil.freq.FilterException
Method to set center frequency

Throws:
edu.sc.seis.fissuresUtil.freq.FilterException

setCentFreq

public void setCentFreq(java.lang.String str)
                 throws edu.sc.seis.fissuresUtil.freq.FilterException
Method to set center frequency

Throws:
edu.sc.seis.fissuresUtil.freq.FilterException

setAlpha

public void setAlpha(double alphaValue)
              throws edu.sc.seis.fissuresUtil.freq.FilterException
Method to set alpha

Throws:
edu.sc.seis.fissuresUtil.freq.FilterException

setAlpha

public void setAlpha(java.lang.String str)
              throws edu.sc.seis.fissuresUtil.freq.FilterException
Method to set alpha

Throws:
edu.sc.seis.fissuresUtil.freq.FilterException

checkSettings

public void checkSettings()
                   throws edu.sc.seis.fissuresUtil.freq.FilterException
Method to check settings

Throws:
edu.sc.seis.fissuresUtil.freq.FilterException

apply

public final Cmplx[] apply(double dtime,
                           Cmplx[] cz)
function to do gaussian filter in frequency domain

Specified by:
apply in interface FrequencyDomainProcess