lsst.pipe.tasks g59f6dce098+83b7f37e51
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask Class Reference
Inheritance diagram for lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask:

Public Member Functions

def __init__ (self, **kwargs)
 
def build_ccd_input_map (self, bbox, wcs, ccds)
 
def mask_warp_bbox (self, bbox, visit, mask, bit_mask_value)
 
def finalize_ccd_input_map_mask (self)
 

Public Attributes

 ccd_input_map
 

Static Public Attributes

HealSparseInputMapConfig ConfigClass = HealSparseInputMapConfig
 

Protected Member Functions

def _pixels_to_radec (self, wcs, pixels)
 

Protected Attributes

 _wcs
 
 _bbox
 
 _ccds
 
 _min_bad
 
 _bits_per_visit_ccd
 
 _bits_per_visit
 
 _ccd_input_pixels
 
 _ccd_input_bad_count_map
 

Static Protected Attributes

str _DefaultName = "healSparseInputMap"
 

Detailed Description

Task for making a HealSparse input map.

Definition at line 132 of file healSparseMapping.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask.__init__ (   self,
**  kwargs 
)

Definition at line 138 of file healSparseMapping.py.

Member Function Documentation

◆ _pixels_to_radec()

def 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 303 of file healSparseMapping.py.

◆ build_ccd_input_map()

def 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 143 of file healSparseMapping.py.

◆ finalize_ccd_input_map_mask()

def 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 281 of file healSparseMapping.py.

◆ mask_warp_bbox()

def 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 228 of file healSparseMapping.py.

Member Data Documentation

◆ _bbox

lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._bbox
protected

Definition at line 166 of file healSparseMapping.py.

◆ _bits_per_visit

lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._bits_per_visit
protected

Definition at line 175 of file healSparseMapping.py.

◆ _bits_per_visit_ccd

lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._bits_per_visit_ccd
protected

Definition at line 174 of file healSparseMapping.py.

◆ _ccd_input_bad_count_map

lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._ccd_input_bad_count_map
protected

Definition at line 218 of file healSparseMapping.py.

◆ _ccd_input_pixels

lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._ccd_input_pixels
protected

Definition at line 208 of file healSparseMapping.py.

◆ _ccds

lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._ccds
protected

Definition at line 167 of file healSparseMapping.py.

◆ _DefaultName

str lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._DefaultName = "healSparseInputMap"
staticprotected

Definition at line 136 of file healSparseMapping.py.

◆ _min_bad

lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._min_bad
protected

Definition at line 171 of file healSparseMapping.py.

◆ _wcs

lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask._wcs
protected

Definition at line 165 of file healSparseMapping.py.

◆ ccd_input_map

lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask.ccd_input_map

Definition at line 141 of file healSparseMapping.py.

◆ ConfigClass

HealSparseInputMapConfig lsst.pipe.tasks.healSparseMapping.HealSparseInputMapTask.ConfigClass = HealSparseInputMapConfig
static

Definition at line 135 of file healSparseMapping.py.


The documentation for this class was generated from the following file: