public class GridPixer extends Object
| Constructor and Description |
|---|
GridPixer(GridSpec xgrid,
GridSpec ygrid)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(GridPixer other)
Indicates whether this pixer is a superset of the given pixer.
|
int |
getBinCount()
Returns the number of bins covered by this grid.
|
double |
getBinFactor(Combiner.Type ctype)
Returns the area of a bin in data units.
|
int |
getBinIndex(double[] dpos)
Calculates the grid index for a given position in data space.
|
int |
getBinIndex(int ix,
int iy)
Returns the grid index given the X and Y grid indices.
|
GridSpec |
getGridX()
Returns the 1-d grid specification in the X direction.
|
GridSpec |
getGridY()
Returns the 1-d grid specification in the Y direction.
|
public GridSpec getGridX()
public GridSpec getGridY()
public int getBinCount()
public int getBinIndex(double[] dpos)
dpos - position in data coordinatespublic int getBinIndex(int ix,
int iy)
ix - X gridder bin indexiy - Y gridder bin indexpublic double getBinFactor(Combiner.Type ctype)
ctype - combination typepublic boolean contains(GridPixer other)
other - comparison objectotherCopyright © 2026 Central Laboratory of the Research Councils. All Rights Reserved.