public static class DinucleotideProperty.MeanSmoothing extends DinucleotideProperty.Smoothing
Constructor and Description |
---|
DinucleotideProperty.MeanSmoothing(int width)
Creates a new
DinucleotideProperty.MeanSmoothing that averages over windows of width width . |
public DinucleotideProperty.MeanSmoothing(int width)
DinucleotideProperty.MeanSmoothing
that averages over windows of width width
.width
- the width of the window.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 valuespublic String toString()
DinucleotideProperty.Smoothing
String
representation of this smoothing method.toString
in class DinucleotideProperty.Smoothing