public static class Pixel1dPlotter.BinArray
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
int |
getBinIndex(int gx) |
Returns the bin index
(index into this object's
bins_ array)
for a given pixel index. |
double[] |
getBins() |
Returns the array of pixel-width bins containing the counts
accumulated by this object.
|
int |
getGraphicsCoord(int index) |
Returns the pixel index for a given bin index.
|
double |
getLowerSum(boolean flip) |
Returns the sum of all the counts at one end of the axis
not captured by this object's bins array.
|
double |
getSum() |
Returns the total sum of values accumulated into this bin array.
|
public double[] getBins()
public double getSum()
public double getLowerSum(boolean flip)
flip
- false for low-coordinate end,
true for high-coordinate endpublic int getBinIndex(int gx)
bins_
array)
for a given pixel index.gx
- pixel indexpublic int getGraphicsCoord(int index)
index
- bin indexCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.