|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jstacs.data.DinucleotideProperty.Smoothing
de.jstacs.data.DinucleotideProperty.MedianSmoothing
public static class DinucleotideProperty.MedianSmoothing
Smoothing by median using a pre-defined window width.
Constructor Summary | |
---|---|
DinucleotideProperty.MedianSmoothing(int width)
Creates a new DinucleotideProperty.MedianSmoothing that computes the median over windows of width width . |
Method Summary | |
---|---|
double[] |
smooth(double[] original)
Returns the smoothed version of original . |
String |
toString()
Returns a String representation of this smoothing method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DinucleotideProperty.MedianSmoothing(int width)
DinucleotideProperty.MedianSmoothing
that computes the median over windows of width width
.
width
- the width of the window.Method Detail |
---|
public double[] smooth(double[] original)
DinucleotideProperty.Smoothing
original
. The length of the returned array and original
may differ.
smooth
in class DinucleotideProperty.Smoothing
original
- the original series of values
public String toString()
DinucleotideProperty.Smoothing
String
representation of this smoothing method.
toString
in class DinucleotideProperty.Smoothing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |