|
| | __init__ (self, **kwargs) |
| |
| | build_ccd_input_map (self, bbox, wcs, ccds) |
| |
| | mask_warp_bbox (self, bbox, visit, mask, bit_mask_value) |
| |
| | finalize_ccd_input_map_mask (self) |
| |
| | initialize_cell_input_map (self, bbox, wcs, visit_detectors) |
| |
| | build_cell_input_map (self, cell) |
| |
| | add_warp_to_cell_input_map (self, ccd_row, weight, cell) |
| |
Task for making a HealSparse input map.
Definition at line 133 of file healSparseMapping.py.
◆ __init__()
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask.__init__ |
( |
| self, |
|
|
** | kwargs ) |
◆ _pixels_to_radec()
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._pixels_to_radec |
( |
| self, |
|
|
| wcs, |
|
|
| pixels ) |
|
protected |
Convert pixels to ra/dec positions using a wcs.
Parameters
----------
wcs : `lsst.afw.geom.SkyWcs`
WCS object.
pixels : `list` [`lsst.geom.Point2D`]
List of pixels to convert.
Returns
-------
radec : `numpy.ndarray`
Nx2 array of ra/dec positions associated with pixels.
Definition at line 431 of file healSparseMapping.py.
◆ add_warp_to_cell_input_map()
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask.add_warp_to_cell_input_map |
( |
| self, |
|
|
| ccd_row, |
|
|
| weight, |
|
|
| cell ) |
Add a warp to the input map for a given cell.
Parameters
----------
ccd_row : `lsst.afw.table.ExposureRecord`
Row from the ccd table.
weight : `float`
Weight to use for this detector.
cell : `lsst.skymap.cellInfo.CellInfo`
Cell that overlaps the ccd_table_row.
Definition at line 378 of file healSparseMapping.py.
◆ build_ccd_input_map()
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask.build_ccd_input_map |
( |
| self, |
|
|
| 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.
Definition at line 145 of file healSparseMapping.py.
◆ build_cell_input_map()
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask.build_cell_input_map |
( |
| self, |
|
|
| cell ) |
Add a cell to the input map.
Parameters
----------
cell : `lsst.skymap.cellInfo.CellInfo`
Cell to initialize.
Definition at line 360 of file healSparseMapping.py.
◆ finalize_ccd_input_map_mask()
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask.finalize_ccd_input_map_mask |
( |
| self | ) |
|
Use accumulated mask information to finalize the masking of
ccd_input_map.
Raises
------
RuntimeError : Raised if build_ccd_input_map was not run first.
Definition at line 291 of file healSparseMapping.py.
◆ initialize_cell_input_map()
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask.initialize_cell_input_map |
( |
| self, |
|
|
| bbox, |
|
|
| wcs, |
|
|
| visit_detectors ) |
Initialize the cell input map.
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.
visit_detectors : `list` [`tuple`]
List of visit/detector tuples.
Definition at line 313 of file healSparseMapping.py.
◆ mask_warp_bbox()
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask.mask_warp_bbox |
( |
| self, |
|
|
| 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.
Definition at line 235 of file healSparseMapping.py.
◆ _bbox
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._bbox = bbox |
|
protected |
◆ _bits_per_visit
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._bits_per_visit = defaultdict(list) |
|
protected |
◆ _bits_per_visit_ccd
| dict lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._bits_per_visit_ccd = {} |
|
protected |
◆ _bits_per_visit_detector
| dict lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._bits_per_visit_detector = {} |
|
protected |
◆ _ccd_input_bad_count_map
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._ccd_input_bad_count_map |
|
protected |
Initial value:= hsp.HealSparseMap.make_empty(
nside_coverage=self.config.nside_coverage,
nside_sparse=self.config.nside,
dtype=dtype,
primary=dtype[0][0])
Definition at line 220 of file healSparseMapping.py.
◆ _ccd_input_pixels
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._ccd_input_pixels = self.ccd_input_map.valid_pixels |
|
protected |
◆ _ccds
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._ccds = ccds |
|
protected |
◆ _cell_pixels
| dict lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._cell_pixels = {} |
|
protected |
◆ _DefaultName
| str lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._DefaultName = "healSparseInputMap" |
|
staticprotected |
◆ _detector_map_cache
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._detector_map_cache = None |
|
protected |
◆ _min_bad
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._min_bad = self.config.bad_mask_min_coverage*hpix_area_arcsec2/(pixel_scale**2.) |
|
protected |
◆ _visit_detector_cache
| tuple lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._visit_detector_cache = None |
|
protected |
◆ _visit_detectors
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._visit_detectors = visit_detectors |
|
protected |
◆ _wcs
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._wcs = wcs |
|
protected |
◆ ccd_input_map
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask.ccd_input_map = None |
◆ cell_input_map
| lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask.cell_input_map = None |
◆ ConfigClass
The documentation for this class was generated from the following file: