lsst.synpipe
19.0.0-2-g456d77f+6
|
Classes | |
class | SkyMapIdContainer |
Functions | |
def | cropFakeImage (fakeImage, expBBox) |
def | addNoise (galImage, detector, rand_gen=None) |
def lsst.synpipe.FakeSourceLib.addNoise | ( | galImage, | |
detector, | |||
rand_gen = None |
|||
) |
adds noise to the the image and returns a variance plane INPUT: image to add noise to detector where the image will be located, this sets the gain NOTE: this assumes float type images and will break if given doubles RETURN: a MaskedImageF with the image with additional noise and the variance plane giving the variance due to the object
Definition at line 63 of file FakeSourceLib.py.
def lsst.synpipe.FakeSourceLib.cropFakeImage | ( | fakeImage, | |
expBBox | |||
) |
Crops the Fake image to fit inside the exposure BBox Note that the bboxes need to have the correct offsets applied Args: fakeImage: fake image object expBBox: bounding box for CCD exposure (integer type, BBoxI) and with offsets applied Returns: New cropped fake image
Definition at line 41 of file FakeSourceLib.py.