public class HtmSkyPixellator extends Object implements SkyPixellator
Note that the HealpixSkyPixellator implementation normally gives
much faster matching than this and should generally be used in
preference.
| Constructor and Description |
|---|
HtmSkyPixellator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
calculateDefaultLevel(double scale)
Determines a default value to use for the level paramer
based on a given scale.
|
java.util.function.Supplier<FixedRadiusConePixer> |
createFixedRadiusPixerFactory(double radius)
Returns a factory for fixed radius pixel calculators
based on the current settings of this object.
|
java.util.function.Supplier<VariableRadiusConePixer> |
createVariableRadiusPixerFactory()
Returns a factory for variable radius pixel calculators
based on the current settings of this object.
|
int |
getLevel()
Returns the HTM level, which determines sky pixel size.
|
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 |
setLevel(int level)
Sets the HTM level value, which determines sky pixel size.
|
void |
setScale(double scale)
Sets the characteristic angular scale for this pixellator.
|
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 java.util.function.Supplier<VariableRadiusConePixer> createVariableRadiusPixerFactory()
SkyPixellatorcreateVariableRadiusPixerFactory in interface SkyPixellatorpublic java.util.function.Supplier<FixedRadiusConePixer> createFixedRadiusPixerFactory(double radius)
SkyPixellatorcreateFixedRadiusPixerFactory in interface SkyPixellatorradius - cone radius in radianspublic void setLevel(int level)
level - new level valuepublic int getLevel()
public int calculateDefaultLevel(double scale)
scale - sky distance scale angle, in radiansCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.