LSST Applications g07dc498a13+8a3ff5e555,g1409bbee79+8a3ff5e555,g1a7e361dbc+8a3ff5e555,g1fd858c14a+cdfc45a1e6,g28da252d5a+05df2523c9,g33399d78f5+b7ce9b29cb,g35bb328faa+e55fef2c71,g3bd4b5ce2c+801aef9193,g43bc871e57+32b9ddb877,g53246c7159+e55fef2c71,g60b5630c4e+f284161bd5,g6992a3b7c1+89734069dd,g6e5c4a0e23+7c1dc9d5af,g78460c75b0+8427c4cc8f,g786e29fd12+307f82e6af,g8534526c7b+af2545e932,g85d8d04dbe+6bd817bf56,g89139ef638+8a3ff5e555,g8b49a6ea8e+f284161bd5,g9125e01d80+e55fef2c71,g989de1cb63+8a3ff5e555,g9a9baf55bd+a4ec829099,g9f33ca652e+eafd8913dc,gaaedd4e678+8a3ff5e555,gabe3b4be73+9c0c3c7524,gb092a606b0+b01f69f56e,gb58c049af0+28045f66fd,gc2fcbed0ba+f284161bd5,gca43fec769+e55fef2c71,gcf25f946ba+b7ce9b29cb,gd6cbbdb0b4+784e334a77,gde0f65d7ad+3bc0905521,ge278dab8ac+25667260f6,geab183fbe5+f284161bd5,gecb8035dfe+0fa5abcb94,gf1e97e5484+b700727375,gf58bf46354+e55fef2c71,gfe7187db8c+f9d6462591,w.2025.01
LSST Data Management Base Package
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
utils.py File Reference

Go to the source code of this file.

Classes

class  lsst.afw.cameraGeom.utils.FakeImageDataSource
 
class  lsst.afw.cameraGeom.utils.ButlerImage
 

Namespaces

namespace  lsst
 
namespace  lsst::afw
 
namespace  lsst::afw::cameraGeom
 
namespace  lsst.afw.cameraGeom.utils
 

Functions

 lsst.afw.cameraGeom.utils.prepareWcsData (wcs, amp, isTrimmed=True)
 
 lsst.afw.cameraGeom.utils.plotFocalPlane (camera, fieldSizeDeg_x=0, fieldSizeDeg_y=None, dx=0.1, dy=0.1, figsize=(10., 10.), useIds=False, showFig=True, savePath=None)
 
 lsst.afw.cameraGeom.utils.makeImageFromAmp (amp, imValue=None, imageFactory=afwImage.ImageU, markSize=10, markValue=0, scaleGain=lambda gain:(gain *1000)//10)
 
 lsst.afw.cameraGeom.utils.calcRawCcdBBox (ccd)
 
 lsst.afw.cameraGeom.utils.makeImageFromCcd (ccd, isTrimmed=True, showAmpGain=True, imageFactory=afwImage.ImageU, rcMarkSize=10, binSize=1)
 
 lsst.afw.cameraGeom.utils.rawCallback (im, ccd=None, imageSource=None, correctGain=False, subtractBias=False, convertToFloat=False, obeyNQuarter=True)
 
 lsst.afw.cameraGeom.utils.overlayCcdBoxes (ccd, untrimmedCcdBbox=None, nQuarter=0, isTrimmed=False, ccdOrigin=(0, 0), display=None, binSize=1)
 
 lsst.afw.cameraGeom.utils.showAmp (amp, imageSource=FakeImageDataSource(isTrimmed=False), display=None, overlay=True, imageFactory=afwImage.ImageU)
 
 lsst.afw.cameraGeom.utils.showCcd (ccd, imageSource=FakeImageDataSource(), display=None, overlay=True, imageFactory=afwImage.ImageF, binSize=1, inCameraCoords=False)
 
 lsst.afw.cameraGeom.utils.getCcdInCamBBoxList (ccdList, binSize, pixelSize_o, origin)
 
 lsst.afw.cameraGeom.utils.getCameraImageBBox (camBbox, pixelSize, bufferSize)
 
 lsst.afw.cameraGeom.utils.makeImageFromCamera (camera, detectorNameList=None, background=numpy.nan, bufferSize=10, imageSource=FakeImageDataSource(), imageFactory=afwImage.ImageU, binSize=1)
 
 lsst.afw.cameraGeom.utils.showCamera (camera, imageSource=FakeImageDataSource(), imageFactory=afwImage.ImageF, detectorNameList=None, binSize=10, bufferSize=10, overlay=True, title="", showWcs=None, ctype=afwDisplay.GREEN, textSize=1.25, originAtCenter=True, display=None, **kwargs)
 
 lsst.afw.cameraGeom.utils.makeFocalPlaneWcs (pixelSize, referencePixel)
 
 lsst.afw.cameraGeom.utils.findAmp (ccd, pixelPosition)
 

Variables

 lsst.afw.cameraGeom.utils._LOG = logging.getLogger(__name__)