|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.layer.Pixel1dPlotter.BinArray
public static class Pixel1dPlotter.BinArray
Data object storing counts per pixel.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 index
public int getGraphicsCoord(int index)
index
- bin index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |