LSST Applications g0265f82a02+0e5473021a,g02d81e74bb+f5613e8b4f,g1470d8bcf6+190ad2ba91,g14a832a312+311607e4ab,g2079a07aa2+86d27d4dc4,g2305ad1205+a8e3196225,g295015adf3+b67ee847e5,g2bbee38e9b+0e5473021a,g337abbeb29+0e5473021a,g3ddfee87b4+a761f810f3,g487adcacf7+17c8fdbcbd,g50ff169b8f+96c6868917,g52b1c1532d+585e252eca,g591dd9f2cf+65b5bd823e,g5a732f18d5+53520f316c,g64a986408d+f5613e8b4f,g6c1bc301e9+51106c2951,g858d7b2824+f5613e8b4f,g8a8a8dda67+585e252eca,g99cad8db69+6729933424,g9ddcbc5298+9a081db1e4,ga1e77700b3+15fc3df1f7,ga8c6da7877+ef4e3a5875,gb0e22166c9+60f28cb32d,gb6a65358fc+0e5473021a,gba4ed39666+c2a2e4ac27,gbb8dafda3b+e9bba80f27,gc120e1dc64+eee469a5e5,gc28159a63d+0e5473021a,gcf0d15dbbd+a761f810f3,gdaeeff99f8+f9a426f77a,ge6526c86ff+d4c1d4bfef,ge79ae78c31+0e5473021a,gee10cc3b42+585e252eca,gf1cff7945b+f5613e8b4f,w.2024.16
LSST Data Management Base Package
|
Public Member Functions | |
__init__ (self, filters, image, mask, variance) | |
setXY0 (self, xy0) | |
shiftedTo (self, xy0) | |
clone (self, deep=True) | |
image (self) | |
mask (self) | |
variance (self) | |
getBBox (self, origin=PARENT) | |
Public Attributes | |
filters | |
Protected Member Functions | |
_slice (self, filters, filterIndex, indices) | |
_verifyUpdate (self, image=None, mask=None, variance=None) | |
Protected Attributes | |
_filters | |
_image | |
_mask | |
_variance | |
_singles | |
_bbox | |
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.
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.
|
protected |
Slice the current object and return the result See `Multiband._slice` for a list of the parameters.
Reimplemented from lsst.afw.multiband.MultibandBase.
Reimplemented in lsst.afw.image._exposure._multiband.MultibandExposure.
Definition at line 653 of file _multiband.py.
|
protected |
Check that the new image, mask, or variance is valid This basically means checking that the update to the property matches the current bounding box and inherits from the `MultibandBase` class.
Definition at line 680 of file _multiband.py.
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.
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.
lsst.afw.image._image._multiband.MultibandTripleBase.image | ( | self | ) |
The image of the MultibandMaskedImage
Definition at line 696 of file _multiband.py.
lsst.afw.image._image._multiband.MultibandTripleBase.mask | ( | self | ) |
The mask of the MultibandMaskedImage
Definition at line 701 of file _multiband.py.
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.
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.
lsst.afw.image._image._multiband.MultibandTripleBase.variance | ( | self | ) |
The variance of the MultibandMaskedImage
Definition at line 706 of file _multiband.py.
|
protected |
Definition at line 593 of file _multiband.py.
|
protected |
Definition at line 580 of file _multiband.py.
|
protected |
Definition at line 588 of file _multiband.py.
|
protected |
Definition at line 589 of file _multiband.py.
|
protected |
Definition at line 592 of file _multiband.py.
|
protected |
Definition at line 590 of file _multiband.py.
lsst.afw.image._image._multiband.MultibandTripleBase.filters |
Definition at line 651 of file _multiband.py.