Skip to content

Commit

Permalink
Change default Allsky tile size to 64 and add check for power-of-two.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Sep 13, 2023
1 parent 68a3911 commit 266fd58
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/lsst/pipe/tasks/hips.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
from lsst.afw.geom import makeHpxWcs
from lsst.resources import ResourcePath

from .healSparseMapping import _is_power_of_two


class HighResolutionHipsConnections(pipeBase.PipelineTaskConnections,
dimensions=("healpix9", "band"),
Expand Down Expand Up @@ -829,8 +831,9 @@ class GenerateHipsConfig(pipeBase.PipelineTaskConfig,
)
allsky_tilesize = pexConfig.Field(
dtype=int,
doc="Allsky.png tile size. Must be power of 2.",
default=512,
doc="Allsky tile size; must be power of 2. HiPS standard recommends 64x64 tiles.",
default=64,
check=_is_power_of_two,
)
png_gray_asinh_minimum = pexConfig.Field(
doc="AsinhMapping intensity to be mapped to black for grayscale png scaling.",
Expand Down

0 comments on commit 266fd58

Please sign in to comment.