lsst.afw  20.0.0-9-g61a2a9a3d+63f5489896
Classes | Functions
lsst.afw.math.warper Namespace Reference

Classes

class  Warper
 
class  WarperConfig
 

Functions

def computeWarpedBBox (destWcs, srcBBox, srcWcs)
 

Function Documentation

◆ computeWarpedBBox()

def lsst.afw.math.warper.computeWarpedBBox (   destWcs,
  srcBBox,
  srcWcs 
)
Compute the bounding box of a warped image.

The bounding box includes all warped pixels and it may be a bit oversize.

Parameters
----------
destWcs : `lsst.afw.geom.SkyWcs`
    WCS of warped exposure
srcBBox : `lsst.geom.Box2I`
    parent bounding box of unwarped image
srcWcs : `lsst.afw.geom.SkyWcs`
    WCS of unwarped image

Returns
-------
destBBox: `lsst.geom.Box2I`
    bounding box of warped exposure

Definition at line 30 of file warper.py.