edu.stanford.rsl.konrad.filtering.rampfilters
Class ArbitraryRampFilter

java.lang.Object
  extended by edu.stanford.rsl.konrad.filtering.rampfilters.RampFilter
      extended by edu.stanford.rsl.konrad.filtering.rampfilters.ArbitraryRampFilter
All Implemented Interfaces:
GUIConfigurable, SafeSerializable, java.io.Serializable, java.lang.Cloneable

public class ArbitraryRampFilter
extends RampFilter

See Also:
Serialized Form

Constructor Summary
ArbitraryRampFilter()
           
 
Method Summary
 RampFilter clone()
           
 void configure()
          Configures the object before execution
 double[] getFilter()
           
 double getFilterWeight(double ku)
           
 double[] getRampFilter1D(int width)
          Returns the filter for one detector row as complex double array (JTransforms format)
 java.lang.String getRampName()
           
 void setFilter(double[] filter)
           
 
Methods inherited from class edu.stanford.rsl.konrad.filtering.rampfilters.RampFilter
getAvailableRamps, getCutOffFrequency, getImagePlusFromRampFilter, getPhysicalPixelWidthInMilimeters, getRampFilter, getSourceToCenterOfRotationDistance, getSourceToDetectorDistance, isConfigured, prepareForSerialization, setConfiguration, setCutOffFrequency, setPhysicalPixelWidthInMilimeters, setSourceToCenterOfRotationDistance, setSourceToDetectorDistance, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArbitraryRampFilter

public ArbitraryRampFilter()
Method Detail

getFilter

public double[] getFilter()

setFilter

public void setFilter(double[] filter)

clone

public RampFilter clone()
Specified by:
clone in class RampFilter

getFilterWeight

public double getFilterWeight(double ku)
Specified by:
getFilterWeight in class RampFilter

getRampFilter1D

public double[] getRampFilter1D(int width)
Description copied from class: RampFilter
Returns the filter for one detector row as complex double array (JTransforms format)

Overrides:
getRampFilter1D in class RampFilter
Parameters:
width - the width of the detector row
Returns:
the filter in Fourier domain

getRampName

public java.lang.String getRampName()
Specified by:
getRampName in class RampFilter

configure

public void configure()
               throws java.lang.Exception
Description copied from interface: GUIConfigurable
Configures the object before execution

Specified by:
configure in interface GUIConfigurable
Overrides:
configure in class RampFilter
Throws:
java.lang.Exception - may happen