org.fhcrc.cpl.viewer.feature.extraction
Class BackgroundRemover
java.lang.Object
org.fhcrc.cpl.viewer.feature.extraction.BackgroundRemover
public class BackgroundRemover
- extends java.lang.Object
Removes background noise from spectra
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_resamplingFrequency
protected int _resamplingFrequency
BackgroundRemover
public BackgroundRemover()
removeBackground
public float[][] removeBackground(float[][] spectra)
calculateMedian
public float[][] calculateMedian(float[][] spectra)
- Calculate median intensity at each point on the grid
- Parameters:
spectra -
- Returns:
getResamplingFrequency
public int getResamplingFrequency()
setResamplingFrequency
public void setResamplingFrequency(int resamplingFrequency)
Fred Hutchinson Cancer Research Center