LSSTApplications  11.0-24-g0a022a1,14.0+64,15.0,15.0+1,15.0-1-g14e9bfd,15.0-1-g1eca518,15.0-1-g499c38d,15.0-1-g60afb23,15.0-1-g6668b0b,15.0-1-g788a293,15.0-1-g82223af,15.0-1-ga91101e,15.0-1-gae1598d,15.0-1-gc45031d,15.0-1-gd076f1f,15.0-1-gf4f1c34,15.0-1-gfe1617d,15.0-16-g953e39cab,15.0-2-g2010ef9,15.0-2-g33d94b3,15.0-2-g5218728,15.0-2-g947dc0d,15.0-3-g9103c06,15.0-3-ga03b4ca,15.0-3-ga659d1f3,15.0-3-ga695220+2,15.0-3-gaec6799,15.0-3-gb7a597c,15.0-3-gd5b9ff95,15.0-4-g0478fed+2,15.0-4-g45f767a,15.0-4-gff20472+2,15.0-6-ge2d9597
LSSTDataManagementBasePackage
Classes | Namespaces | Functions
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

 lsst.afw.cameraGeom.utils
 

Functions

def lsst.afw.cameraGeom.utils.prepareWcsData (wcs, amp, isTrimmed=True)
 Put Wcs from an Amp image into CCD coordinates. More...
 
def 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)
 Make a plot of the focal plane along with a set points that sample the field of view. More...
 
def lsst.afw.cameraGeom.utils.makeImageFromAmp (amp, imValue=None, imageFactory=afwImage.ImageU, markSize=10, markValue=0, scaleGain=lambda gain:(gain *1000)//10)
 Make an image from an amp object. More...
 
def lsst.afw.cameraGeom.utils.calcRawCcdBBox (ccd)
 Calculate the raw ccd bounding box. More...
 
def lsst.afw.cameraGeom.utils.makeImageFromCcd (ccd, isTrimmed=True, showAmpGain=True, imageFactory=afwImage.ImageU, rcMarkSize=10, binSize=1)
 Make an Image of a Ccd. More...
 
def lsst.afw.cameraGeom.utils.rawCallback (im, ccd=None, imageSource=None, correctGain=False, subtractBias=False, convertToFloat=False)
 A callback function that may or may not subtract bias/correct gain/trim a raw image. More...
 
def lsst.afw.cameraGeom.utils.overlayCcdBoxes (ccd, untrimmedCcdBbox=None, nQuarter=0, isTrimmed=False, ccdOrigin=(0, 0), display=None, binSize=1)
 Overlay bounding boxes on an image display. More...
 
def lsst.afw.cameraGeom.utils.showAmp (amp, imageSource=FakeImageDataSource(isTrimmed=False), display=None, overlay=True, imageFactory=afwImage.ImageU)
 Show an amp in an image display. More...
 
def lsst.afw.cameraGeom.utils.showCcd (ccd, imageSource=FakeImageDataSource(), display=None, frame=None, overlay=True, imageFactory=afwImage.ImageF, binSize=1, inCameraCoords=False)
 Show a CCD on display. More...
 
def lsst.afw.cameraGeom.utils.getCcdInCamBBoxList (ccdList, binSize, pixelSize_o, origin)
 Get the bounding boxes of a list of Detectors within a camera sized pixel grid. More...
 
def lsst.afw.cameraGeom.utils.getCameraImageBBox (camBbox, pixelSize, bufferSize)
 Get the bounding box of a camera sized image in pixels. More...
 
def lsst.afw.cameraGeom.utils.makeImageFromCamera (camera, detectorNameList=None, background=numpy.nan, bufferSize=10, imageSource=FakeImageDataSource(), imageFactory=afwImage.ImageU, binSize=1)
 Make an Image of a Camera. More...
 
def lsst.afw.cameraGeom.utils.showCamera (camera, imageSource=FakeImageDataSource(), imageFactory=afwImage.ImageF, detectorNameList=None, binSize=10, bufferSize=10, frame=None, overlay=True, title="", showWcs=None, ctype=afwDisplay.GREEN, textSize=1.25, originAtCenter=True, display=None, kwargs)
 Show a Camera on display, with the specified display. More...
 
def lsst.afw.cameraGeom.utils.makeFocalPlaneWcs (pixelSize, referencePixel)
 Make a WCS for the focal plane geometry (i.e. More...
 
def lsst.afw.cameraGeom.utils.findAmp (ccd, pixelPosition)
 Find the Amp with the specified pixel position within the composite. More...