Loading [MathJax]/extensions/tex2jax.js
LSST Applications g04a91732dc+a3f7a6a005,g07dc498a13+5ab4d22ec3,g0fba68d861+870ee37b31,g1409bbee79+5ab4d22ec3,g1a7e361dbc+5ab4d22ec3,g1fd858c14a+11200c7927,g20f46db602+25d63fd678,g35bb328faa+fcb1d3bbc8,g4d2262a081+cc8af5cafb,g4d39ba7253+6b9d64fe03,g4e0f332c67+5d362be553,g53246c7159+fcb1d3bbc8,g60b5630c4e+6b9d64fe03,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g8048e755c2+a1301e4c20,g8852436030+a750987b4a,g89139ef638+5ab4d22ec3,g89e1512fd8+a86d53a4aa,g8d6b6b353c+6b9d64fe03,g9125e01d80+fcb1d3bbc8,g989de1cb63+5ab4d22ec3,g9f33ca652e+38ca901d1a,ga9baa6287d+6b9d64fe03,gaaedd4e678+5ab4d22ec3,gabe3b4be73+1e0a283bba,gb1101e3267+aa269f591c,gb58c049af0+f03b321e39,gb90eeb9370+af74afe682,gc741bbaa4f+7f5db660ea,gcf25f946ba+a750987b4a,gd315a588df+b78635c672,gd6cbbdb0b4+c8606af20c,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+5839af1903,ge278dab8ac+932305ba37,ge82c20c137+76d20ab76d,w.2025.11
LSST Data Management Base Package
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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__)