lsst.afw g4d73512994+c357e897d2
|
Public Member Functions | |
def | __init__ (self, filters, image, mask, variance) |
def | setXY0 (self, xy0) |
def | shiftedTo (self, xy0) |
def | clone (self, deep=True) |
def | image (self) |
def | mask (self) |
def | variance (self) |
def | getBBox (self, origin=PARENT) |
MultibandTripleBase class This is a base class inherited by multiband classes with `image`, `mask`, and `variance` objects, such as `MultibandMaskedImage` and `MultibandExposure`. Parameters ---------- filters : `list` List of filter names. If `singles` is an `OrderedDict` then this argument is ignored, otherwise it is required. image : `list` or `MultibandImage` List of `Image` objects that represent the image in each band or a `MultibandImage`. Ignored if `singles` is not `None`. mask : `list` or `MultibandMask` List of `Mask` objects that represent the mask in each bandor a `MultibandMask`. Ignored if `singles` is not `None`. variance : `list` or `MultibandImage` List of `Image` objects that represent the variance in each bandor a `MultibandImage`. Ignored if `singles` is not `None`.
Definition at line 554 of file _multiband.py.
def lsst.afw.image.image._multiband.MultibandTripleBase.__init__ | ( | self, | |
filters, | |||
image, | |||
mask, | |||
variance | |||
) |
Reimplemented from lsst.afw.multiband.MultibandBase.
Reimplemented in lsst.afw.image.exposure._multiband.MultibandExposure, and lsst.afw.image.image._multiband.MultibandMaskedImage.
Definition at line 579 of file _multiband.py.
def lsst.afw.image.image._multiband.MultibandTripleBase.clone | ( | self, | |
deep = True |
|||
) |
Make a copy of the current instance
Reimplemented from lsst.afw.multiband.MultibandBase.
Definition at line 639 of file _multiband.py.
def lsst.afw.image.image._multiband.MultibandTripleBase.getBBox | ( | self, | |
origin = PARENT |
|||
) |
Bounding box
Reimplemented from lsst.afw.multiband.MultibandBase.
Definition at line 710 of file _multiband.py.
def lsst.afw.image.image._multiband.MultibandTripleBase.image | ( | self | ) |
The image of the MultibandMaskedImage
Definition at line 696 of file _multiband.py.
def lsst.afw.image.image._multiband.MultibandTripleBase.mask | ( | self | ) |
The mask of the MultibandMaskedImage
Definition at line 701 of file _multiband.py.
def lsst.afw.image.image._multiband.MultibandTripleBase.setXY0 | ( | self, | |
xy0 | |||
) |
Shift the bounding box but keep the same Extent This is different than `MultibandBase.setXY0` because the multiband `image`, `mask`, and `variance` objects must all have their bounding boxes updated. Parameters ---------- xy0 : `Point2I` New minimum bounds of the bounding box
Reimplemented from lsst.afw.multiband.MultibandBase.
Definition at line 595 of file _multiband.py.
def lsst.afw.image.image._multiband.MultibandTripleBase.shiftedTo | ( | self, | |
xy0 | |||
) |
Shift the bounding box but keep the same Extent This is different than `MultibandBase.shiftedTo` because the multiband `image`, `mask`, and `variance` objects must all have their bounding boxes updated. Parameters ---------- xy0 : `Point2I` New minimum bounds of the bounding box Returns ------- result : `MultibandBase` A copy of the object, shifted to `xy0`.
Reimplemented from lsst.afw.multiband.MultibandBase.
Definition at line 612 of file _multiband.py.
def lsst.afw.image.image._multiband.MultibandTripleBase.variance | ( | self | ) |
The variance of the MultibandMaskedImage
Definition at line 706 of file _multiband.py.