HealSparseInputMapTask#
- class lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask(**kwargs)#
Bases:
TaskTask for making a HealSparse input map.
Methods Summary
build_ccd_input_map(bbox, wcs, ccds)Build a map from ccd valid polygons or bounding boxes.
Use accumulated mask information to finalize the masking of ccd_input_map.
mask_warp_bbox(bbox, visit, mask, bit_mask_value)Mask a subregion from a visit.
Methods Documentation
- build_ccd_input_map(bbox, wcs, ccds)#
Build a map from ccd valid polygons or bounding boxes.
Parameters#
- bbox
lsst.geom.Box2I Bounding box for region to build input map.
- wcs
lsst.afw.geom.SkyWcs WCS object for region to build input map.
- ccds
lsst.afw.table.ExposureCatalog Exposure catalog with ccd data from coadd inputs.
- bbox
- finalize_ccd_input_map_mask()#
Use accumulated mask information to finalize the masking of ccd_input_map.
Raises#
RuntimeError : Raised if build_ccd_input_map was not run first.
- mask_warp_bbox(bbox, visit, mask, bit_mask_value)#
Mask a subregion from a visit. This must be run after build_ccd_input_map initializes the overall map.
Parameters#
- bbox
lsst.geom.Box2I Bounding box from region to mask.
- visit
int Visit number corresponding to warp with mask.
- mask
lsst.afw.image.MaskX Mask plane from warp exposure.
- bit_mask_value
int Bit mask to check for bad pixels.
Raises#
RuntimeError : Raised if build_ccd_input_map was not run first.
- bbox