public abstract class HealpixSkyPixellator extends Object implements SkyPixellator
| Modifier | Constructor and Description |
|---|---|
protected |
HealpixSkyPixellator(int maxK)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateFixedRadiusPixerFactory, createVariableRadiusPixerFactoryprotected HealpixSkyPixellator(int maxK)
maxK - the maximum K value permitted by this implementationpublic int getMaxK()
public void setScale(double scale)
SkyPixellatorsetScale in interface SkyPixellatorscale - pixel length scale in radianspublic double getScale()
SkyPixellatorgetScale in interface SkyPixellatorpublic DescribedValue getTuningParameter()
SkyPixellatorgetTuningParameter 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 radiansCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.