LSST Applications  21.0.0-129-gdb38469a+1bd5e57dbb,22.0.0+03706a241d,22.0.0+11a2aa21cd,22.0.0+304ef9150d,22.0.0+64c1bc5aa5,22.0.0+738e4e628a,22.0.0+7b3a3f865e,22.0.0+e6cbeb5e1c,22.0.0+f4f536df4c,22.0.0+fbee83b840,22.0.1-1-g1b65d06+da7944893b,22.0.1-1-g7058be7+1cf78af69b,22.0.1-1-g7dab645+3cb5b2fc85,22.0.1-1-g8760c09+64c1bc5aa5,22.0.1-1-g949febb+64c1bc5aa5,22.0.1-1-ga324b9c+304ef9150d,22.0.1-1-ga86695c+e6cbeb5e1c,22.0.1-1-gf9d8b05+03706a241d,22.0.1-10-g781e53d+24107c5c9a,22.0.1-10-gba590ab+767afa1eb6,22.0.1-13-g00a9d746+853a472d02,22.0.1-13-g76f9b8d+e6cbeb5e1c,22.0.1-16-g996ca242+58f6652caa,22.0.1-18-gb17765a+d8291b220b,22.0.1-2-gcb770ba+2dea998090,22.0.1-22-gf1d71818e+4206820b0d,22.0.1-3-g7aa11f2+e6cbeb5e1c,22.0.1-3-g8c1d971+f253ffa91f,22.0.1-3-g997b569+1088d310ed,22.0.1-4-g1930a60+6871d0c7f6,22.0.1-4-g5b7b756+6b209d634c,22.0.1-6-ga02864e+6871d0c7f6,22.0.1-7-g3402376+e9d2d9bd2c,22.0.1-7-g65f59fa+ece367c4df,master-gcc5351303a+f4f536df4c,w.2021.31
LSST Data Management Base Package
lsst::skymap; sky pixelization

Introduction

A sky map describes a pixelization of image data that covers most or all of the sky.

The imaging data is arranged as a sequence of overlapping rectangular "tracts". Each tract is, in essence, a single large exposure. However, tracts are typically too large to fit into memory, so tracts are subdivided into rectangular, possibly overlapping "patches". The patch size is chosen to easily fit into memory.

Tracts contain an inner region described by a collection of vertices. The inner regions exactly tile the portion of sky covered by the sky map. All pixels beyond the inner region provide overlap with neighboring tracts.

Patches contain rectangular inner and outer regions. The inner regions exactly tile the tract, and all patches in a tract have the same inner dimensions. Each patch has a border around the inner region to provide some overlap with adjacent patches, but there is no border on patch edges that lie against tract boundaries.

Imaging data is saved as one FITS file per patch. To access a patch the butler requires the tract ID and patch index. BaseSkyMap.findTract(coord) finds a tract and returns its TractInfo, given a coord. TractInfo.findPatch(coord) finds a patch and returns its PatchInfo.

Classes available from Python include:

  • BaseSkyMap: abstract base class for sky maps. Each subclass acts as an iterable collection of TractInfo.
  • DodecaSkyMap: tracts are arranged as the faces of a dodecahedron covering the whole sky.
  • EquatSkyMap: tracts are arranged in a band described by a declination range.
  • DiscreteSkyMap: tracts are placed at explicitly defined positions (e.g., for deep fields).
  • RingsSkyMap: square tracts are arranged in declination rings with polar caps.
  • HealpixSkyMap: tracts are arranged as HEALPixels (requires the healpy package).
  • TractInfo: information about a tract, including a bounding box, WCS, vertices describing the inner region, and a collection of PatchInfo.
  • PatchInfo: information about a patch, including index, inner and outer bounding boxes.