LSSTApplications  19.0.0-12-gef62271,20.0.0+1,20.0.0+10,20.0.0+11,20.0.0+13,20.0.0+2,20.0.0+3,20.0.0+4,20.0.0+6,20.0.0-1-g10df615+10,20.0.0-1-g253301a+5,20.0.0-1-g596936a+11,20.0.0-1-g8a53f90+1,20.0.0-1-gc96f8cb+12,20.0.0-1-gd1c87d7+1,20.0.0-17-g41c5faf,20.0.0-2-g04cfba9+4,20.0.0-2-gd11eeda,20.0.0-2-gec03fae+3,20.0.0-3-g082faa5+1,20.0.0-3-gbdbfa727+3,20.0.0-3-gc53c7b6,20.0.0-4-gde602ef96+4,20.0.0-4-ge48a6ca+7,20.0.0-4-ge987224+1,20.0.0-8-g7eef53f7+7,20.0.0-9-g8e1b333,w.2020.28
LSSTDataManagementBasePackage
Namespaces | Functions
testUtils.py File Reference

Go to the source code of this file.

Namespaces

 lsst.afw.image.testUtils
 

Functions

def lsst.afw.image.testUtils.makeGaussianNoiseMaskedImage (dimensions, sigma, variance=1.0)
 
def lsst.afw.image.testUtils.makeRampImage (bbox, start=0, stop=None, imageClass=ImageF)
 Make an image whose values are a linear ramp. More...
 
def lsst.afw.image.testUtils.assertImagesAlmostEqual (testCase, image0, image1, skipMask=None, rtol=1.0e-05, atol=1e-08, msg="Images differ")
 Assert that two images are almost equal, including non-finite values. More...
 
def lsst.afw.image.testUtils.assertImagesEqual (*args, **kwds)
 Assert that two images are exactly equal, including non-finite values. More...
 
def lsst.afw.image.testUtils.assertMasksEqual (testCase, mask0, mask1, skipMask=None, msg="Masks differ")
 Assert that two masks are equal. More...
 
def lsst.afw.image.testUtils.assertMaskedImagesAlmostEqual (testCase, maskedImage0, maskedImage1, doImage=True, doMask=True, doVariance=True, skipMask=None, rtol=1.0e-05, atol=1e-08, msg="Masked images differ")
 Assert that two masked images are nearly equal, including non-finite values. More...
 
def lsst.afw.image.testUtils.assertMaskedImagesEqual (*args, **kwds)
 Assert that two masked images are exactly equal, including non-finite values. More...
 
def lsst.afw.image.testUtils.imagesDiffer (image0, image1, skipMask=None, rtol=1.0e-05, atol=1e-08)
 Compare the pixels of two image or mask arrays; return True if close, False otherwise. More...