LSST Applications g0f08755f38+05b4b46b2c,g1653933729+a905cd61c3,g168dd56ebc+a905cd61c3,g1a2382251a+526767c3b0,g20f6ffc8e0+05b4b46b2c,g217e2c1bcf+f8df405040,g28da252d5a+e530e4405a,g2bbee38e9b+e060cc3e60,g2bc492864f+e060cc3e60,g32e5bea42b+7044b77928,g347aa1857d+e060cc3e60,g35bb328faa+a905cd61c3,g3a166c0a6a+e060cc3e60,g3bd4b5ce2c+9af3f3d415,g3e281a1b8c+2bff41ced5,g3e8969e208+a905cd61c3,g414038480c+882f223820,g41af890bb2+f72d0f2eea,g43bc871e57+ad86a2d9e2,g78460c75b0+4ae99bb757,g80478fca09+8d821d1b28,g82479be7b0+ec26a56c2d,g858d7b2824+05b4b46b2c,g9125e01d80+a905cd61c3,ga5288a1d22+64e5455051,gb58c049af0+84d1b6ec45,gc28159a63d+e060cc3e60,gc5452a3dca+b82ec7cc4c,gcab2d0539d+01da5adb7a,gcf0d15dbbd+56822d21ae,gda6a2b7d83+56822d21ae,gdaeeff99f8+686ef0dd99,ge79ae78c31+e060cc3e60,gef2f8181fd+f2c81e61ee,gf0baf85859+f9edac6842,gf1e97e5484+3a635bd7af,gfa517265be+05b4b46b2c,gfa999e8aa5+d85414070d,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__)