public abstract class AbstractLevelFilter<R,C> extends AbstractFilter<DoubleMatrix<R,C>,R,C,Double>
Modifier and Type | Field and Description |
---|---|
protected double |
highCut |
protected double |
lowCut |
protected boolean |
useHighAsFraction |
protected boolean |
useLowAsFraction |
log
Constructor and Description |
---|
AbstractLevelFilter() |
Modifier and Type | Method and Description |
---|---|
void |
setHighCut(double h)
Set the high threshold for removal.
|
void |
setHighCut(double highCut,
boolean isFraction) |
void |
setLowCut(double lowCut)
Set the low threshold for removal.
|
void |
setLowCut(double lowCut,
boolean isFraction) |
void |
setUseAsFraction(boolean setting)
Set the filter to interpret the low and high cuts as fractions; that is, if true, lowcut 0.1 means remove 0.1 of
the rows with the lowest values.
|
void |
setUseHighCutAsFraction(boolean setting) |
void |
setUseLowCutAsFraction(boolean setting) |
getOutputMatrix
protected double highCut
protected double lowCut
protected boolean useHighAsFraction
protected boolean useLowAsFraction
public void setHighCut(double h)
h
- the thresholdpublic void setHighCut(double highCut, boolean isFraction)
highCut
- isFraction
- public void setLowCut(double lowCut)
lowCut
- the thresholdpublic void setLowCut(double lowCut, boolean isFraction)
lowCut
- isFraction
- public void setUseAsFraction(boolean setting)
setting
- booleanpublic void setUseHighCutAsFraction(boolean setting)
setting
- public void setUseLowCutAsFraction(boolean setting)
setting
- Copyright © 2003–2022 UBC Michael Smith Laboratories. All rights reserved.