|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.starlink.table.join.HealpixSkyPixellator
public abstract class HealpixSkyPixellator
Implements sky pixellisation using the HEALPix scheme. This works better than the HTM-based one for two reasons:
| Constructor Summary | |
|---|---|
protected |
HealpixSkyPixellator(int maxK)
Constructor. |
| Method Summary | |
|---|---|
abstract int |
calculateDefaultK(double scale)
Determines a default value to use for the HEALPix k parameter based on a given scale. |
protected abstract void |
configureK(int k)
Updates internal state for the current value of the k parameter. |
int |
getHealpixK()
Returns the HEALPix k value, which determines sky pixel size, equivalent to log2(nside). |
int |
getMaxK()
Returns the maximum permissible K value. |
double |
getScale()
Returns the most recently set angular scale. |
DescribedValue |
getTuningParameter()
Returns a parameter whose value may be adjusted to alter the pixellisation scale. |
void |
setHealpixK(int healpixK)
Sets the HEALPix k value, which determines sky pixel size, equivalent to log2(nside). |
void |
setScale(double scale)
Sets the characteristic angular scale for this pixellator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface uk.ac.starlink.table.join.SkyPixellator |
|---|
getPixels |
| Constructor Detail |
|---|
protected HealpixSkyPixellator(int maxK)
maxK - the maximum K value permitted by this implementation| Method Detail |
|---|
public int getMaxK()
public void setScale(double scale)
SkyPixellator
setScale in interface SkyPixellatorscale - pixel length scale in radianspublic double getScale()
SkyPixellator
getScale in interface SkyPixellatorpublic DescribedValue getTuningParameter()
SkyPixellator
getTuningParameter in interface SkyPixellatorpublic void setHealpixK(int healpixK)
getMaxK().
If set to -1, a suitable value will be used based on the scale.
healpixK - new k valuepublic int getHealpixK()
protected abstract void configureK(int k)
k - HEALPix orderpublic abstract int calculateDefaultK(double scale)
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 | ||||||||