|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.join.HealpixSkyPixellator
uk.ac.starlink.table.join.PixtoolsHealpixSkyPixellator
public class PixtoolsHealpixSkyPixellator
HEALPix sky pixellator using the PixTools library. This implementation is based on the PixTools Java HEALPix classes written by Nickolai Kouropatkine at Fermilab. The maximum K value is 20.
Constructor Summary | |
---|---|
PixtoolsHealpixSkyPixellator()
Constructs a pixellator using the default scheme (RING). |
|
PixtoolsHealpixSkyPixellator(boolean nested)
Constructs a pixellator using either the RING or NESTED HEALPix scheme. |
Method Summary | |
---|---|
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. |
Object[] |
getPixels(double alpha,
double delta,
double radius)
Returns an array of objects representing pixels in a given region. |
Methods inherited from class uk.ac.starlink.table.join.HealpixSkyPixellator |
---|
getHealpixK, getMaxK, getScale, getTuningParameter, setHealpixK, setScale |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PixtoolsHealpixSkyPixellator(boolean nested)
nested
- false for RING scheme, true for NESTEDpublic PixtoolsHealpixSkyPixellator()
Method Detail |
---|
public 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 radians
protected void configureK(int k)
HealpixSkyPixellator
configureK
in class HealpixSkyPixellator
k
- HEALPix orderpublic int calculateDefaultK(double scale)
calculateDefaultK
in class HealpixSkyPixellator
scale
- distance scale, in radians
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |