LSST Applications g1653933729+34a971ddd9,g1a997c3884+34a971ddd9,g2160c40384+da0d0eec6b,g28da252d5a+cb6ff358b6,g2bbee38e9b+e5a1bc5b38,g2bc492864f+e5a1bc5b38,g2ca4be77d2+2af33ed832,g2cdde0e794+704103fe75,g3156d2b45e+6e87dc994a,g347aa1857d+e5a1bc5b38,g35bb328faa+34a971ddd9,g3a166c0a6a+e5a1bc5b38,g3e281a1b8c+8ec26ec694,g4005a62e65+ba0306790b,g414038480c+9f5be647b3,g41af890bb2+f34483f65b,g5065538af8+53fd6e9482,g5a0bb5165c+1b31a0decc,g717e5f8c0f+19a1ad098c,g80478fca09+1acdc24a0d,g8204df1d8d+19a1ad098c,g82479be7b0+44a04e1d61,g858d7b2824+19a1ad098c,g9125e01d80+34a971ddd9,ga5288a1d22+ad6d5da1a4,gae0086650b+34a971ddd9,gb58c049af0+ace264a4f2,gbd397ab92a+d5fd0218dc,gc28159a63d+e5a1bc5b38,gcf0d15dbbd+618cb38075,gd6b7c0dfd1+3388d854ad,gda6a2b7d83+618cb38075,gdaeeff99f8+7774323b41,ge2409df99d+8082276ac0,ge33fd446bb+19a1ad098c,ge79ae78c31+e5a1bc5b38,gf0baf85859+890af219f9,gf5289d68f6+701f7b396a,w.2024.37
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.ip.diffim.utils.DipoleTestImage
 
class  lsst.ip.diffim.utils.CustomCoaddPsf
 

Namespaces

namespace  lsst
 
namespace  lsst::ip
 
namespace  lsst::ip::diffim
 
namespace  lsst.ip.diffim.utils
 

Functions

 lsst.ip.diffim.utils.showSourceSet (sSet, xy0=(0, 0), frame=0, ctype=afwDisplay.GREEN, symb="+", size=2)
 
 lsst.ip.diffim.utils.showKernelSpatialCells (maskedIm, kernelCellSet, showChi2=False, symb="o", ctype=None, ctypeUnused=None, ctypeBad=None, size=3, frame=None, title="Spatial Cells")
 
 lsst.ip.diffim.utils.showDiaSources (sources, exposure, isFlagged, isDipole, frame=None)
 
 lsst.ip.diffim.utils.showKernelCandidates (kernelCellSet, kernel, background, frame=None, showBadCandidates=True, resids=False, kernels=False)
 
 lsst.ip.diffim.utils.showKernelBasis (kernel, frame=None)
 
 lsst.ip.diffim.utils.plotKernelSpatialModel (kernel, kernelCellSet, showBadCandidates=True, numSample=128, keepPlots=True, maxCoeff=10)
 
 lsst.ip.diffim.utils.plotKernelCoefficients (spatialKernel, kernelCellSet, showBadCandidates=False, keepPlots=True)
 
 lsst.ip.diffim.utils.showKernelMosaic (bbox, kernel, nx=7, ny=None, frame=None, title=None, showCenter=True, showEllipticity=True)
 
 lsst.ip.diffim.utils.plotWhisker (results, newWcs)
 
 lsst.ip.diffim.utils.getKernelCenterDisplacement (kernel, x, y, image=None)
 
 lsst.ip.diffim.utils.getPsfFwhm (psf, average=True, position=None)
 
float lsst.ip.diffim.utils.evaluateMeanPsfFwhm (afwImage.Exposure exposure, float fwhmExposureBuffer, int fwhmExposureGrid)
 
afwImage.ImageD lsst.ip.diffim.utils.computeAveragePsf (afwImage.Exposure exposure, float psfExposureBuffer, int psfExposureGrid)
 
 lsst.ip.diffim.utils.detectTestSources (exposure, addMaskPlanes=None)
 
 lsst.ip.diffim.utils.makeFakeWcs ()
 
 lsst.ip.diffim.utils.makeTestImage (seed=5, nSrc=20, psfSize=2., noiseLevel=5., noiseSeed=6, fluxLevel=500., fluxRange=2., kernelSize=32, templateBorderSize=0, background=None, xSize=256, ySize=256, x0=12345, y0=67890, calibration=1., doApplyCalibration=False, xLoc=None, yLoc=None, flux=None, clearEdgeMask=False, addMaskPlanes=None, band="g", physicalFilter="g NotACamera")
 
 lsst.ip.diffim.utils._makeTruthSchema ()
 
 lsst.ip.diffim.utils._fillTruthCatalog (injectList)
 
 lsst.ip.diffim.utils.makeStats (badMaskPlanes=None)
 
 lsst.ip.diffim.utils.computeRobustStatistics (image, mask, statsCtrl, statistic=afwMath.MEANCLIP)
 
 lsst.ip.diffim.utils.computePSFNoiseEquivalentArea (psf)
 
 lsst.ip.diffim.utils.angleMean (angles)
 
 lsst.ip.diffim.utils.evaluateMaskFraction (mask, maskPlane)
 

Variables

bool lsst.ip.diffim.utils.keptPlots = False
 
 lsst.ip.diffim.utils._LOG = getLogger(__name__)