SkyPixellator
public class PixtoolsHealpixSkyPixellator extends HealpixSkyPixellator
Constructor | Description |
---|---|
PixtoolsHealpixSkyPixellator() |
Constructs a pixellator using the default scheme (RING).
|
PixtoolsHealpixSkyPixellator(boolean nested) |
Constructs a pixellator using either the RING or NESTED HEALPix scheme.
|
Modifier and Type | Method | Description |
---|---|---|
int |
calculateDefaultK(double scale) |
Determines a default value to use for the HEALPix k parameter
based on a given scale.
|
protected void |
configureK(int k) |
Updates internal state for the current value of the k parameter.
|
java.lang.Object[] |
getPixels(double alpha,
double delta,
double radius) |
Returns an array of objects representing pixels in a given region.
|
getHealpixK, getMaxK, getScale, getTuningParameter, setHealpixK, setScale
public PixtoolsHealpixSkyPixellator(boolean nested)
nested
- false for RING scheme, true for NESTEDpublic PixtoolsHealpixSkyPixellator()
public java.lang.Object[] getPixels(double alpha, double delta, double radius)
SkyPixellator
equals
and hashCode
methods
appropriately, so that objects returned from one call can be
compared for identity with objects returned from a subsequent call.
This comparability is only guaranteed to work if the pixel scale
is not changed in between calls.alpha
- right ascension of circle centre in radiansdelta
- declination of circle centre in radiansradius
- radius of circle in radiansprotected void configureK(int k)
HealpixSkyPixellator
configureK
in class HealpixSkyPixellator
k
- HEALPix orderpublic int calculateDefaultK(double scale)
calculateDefaultK
in class HealpixSkyPixellator
scale
- distance scale, in radiansCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.