LSST Applications g0265f82a02+d6b5cd48b5,g02d81e74bb+7bcba2e4e8,g2079a07aa2+14824f138e,g212a7c68fe+4b38ad7149,g2305ad1205+906def1e41,g295015adf3+564da5d084,g2bbee38e9b+d6b5cd48b5,g337abbeb29+d6b5cd48b5,g3ddfee87b4+cff7e20090,g487adcacf7+50712f9db4,g50ff169b8f+5929b3527e,g52b1c1532d+a6fc98d2e7,g591dd9f2cf+d19d1a10d7,g5a732f18d5+66d966b544,g64a986408d+7bcba2e4e8,g858d7b2824+7bcba2e4e8,g8a8a8dda67+a6fc98d2e7,g99cad8db69+808e2eeadf,g9ddcbc5298+d4bad12328,ga1e77700b3+246acaaf9c,ga8c6da7877+9e3c062e8e,gb0e22166c9+3863383f4c,gb6a65358fc+d6b5cd48b5,gb983acf43b+60bb7664b7,gba4ed39666+9664299f35,gbb8dafda3b+6623599aa9,gc07e1c2157+f6e5778202,gc120e1dc64+6e28925a4e,gc28159a63d+d6b5cd48b5,gcf0d15dbbd+cff7e20090,gdaeeff99f8+a38ce5ea23,ge6526c86ff+bcc88f9437,ge79ae78c31+d6b5cd48b5,gee10cc3b42+a6fc98d2e7,gf1cff7945b+7bcba2e4e8,v24.1.5.rc1
LSST Data Management Base Package
|
Public Member Functions | |
__init__ (self, filters, image, mask, variance, psfs=None) | |
computePsfKernelImage (self, position) | |
computePsfImage (self, position=None) | |
getPsfs (self) | |
Static Public Member Functions | |
fromExposures (filters, singles) | |
fromArrays (filters, image, mask, variance, bbox=None) | |
fromKwargs (filters, filterKwargs, singleType=ExposureF, **kwargs) | |
fromButler (butler, bands, *args, **kwargs) | |
Public Attributes | |
singles | |
Protected Member Functions | |
_buildSingles (self, image=None, mask=None, variance=None) | |
_slice (self, filters, filterIndex, indices) | |
MultibandExposure class This class acts as a container for multiple `afw.Exposure` objects. All exposures must have the same bounding box, and the associated images must all have the same data type. See `MultibandTripleBase` for parameter definitions.
Definition at line 119 of file _multiband.py.
lsst.afw.image._exposure._multiband.MultibandExposure.__init__ | ( | self, | |
filters, | |||
image, | |||
mask, | |||
variance, | |||
psfs = None ) |
Reimplemented from lsst.afw.image._image._multiband.MultibandTripleBase.
Definition at line 128 of file _multiband.py.
|
protected |
Make a new list of single band objects Parameters ---------- image: `list` List of `Image` objects that represent the image in each band. mask: `list` List of `Mask` objects that represent the mask in each band. variance: `list` List of `Image` objects that represent the variance in each band. Returns ------- singles: tuple Tuple of `MaskedImage` objects for each band, where the `image`, `mask`, and `variance` of each `single` point to the multiband objects.
Definition at line 159 of file _multiband.py.
|
protected |
Slice the current object and return the result See `Multiband._slice` for a list of the parameters. This overwrites the base method to attach the PSF to each individual exposure.
Reimplemented from lsst.afw.image._image._multiband.MultibandTripleBase.
Definition at line 289 of file _multiband.py.
lsst.afw.image._exposure._multiband.MultibandExposure.computePsfImage | ( | self, | |
position = None ) |
Get a multiband PSF image The PSF Kernel Image is computed for each band and combined into a (filter, y, x) array and stored as `self._psfImage`. The result is not cached, so if the same PSF is expected to be used multiple times it is a good idea to store the result in another variable. Parameters ---------- position: `Point2D` or `tuple` Coordinates to evaluate the PSF. If `position` is `None` then `Psf.getAveragePosition()` is used. Returns ------- self._psfImage: array The multiband PSF image.
Definition at line 252 of file _multiband.py.
lsst.afw.image._exposure._multiband.MultibandExposure.computePsfKernelImage | ( | self, | |
position ) |
Get a multiband PSF image The PSF Kernel Image is computed for each band and combined into a (filter, y, x) array and stored as `self._psfImage`. The result is not cached, so if the same PSF is expected to be used multiple times it is a good idea to store the result in another variable. Parameters ---------- position: `Point2D` or `tuple` Coordinates to evaluate the PSF. Returns ------- self._psfImage: array The multiband PSF image.
Definition at line 226 of file _multiband.py.
|
static |
Construct a MultibandExposure from a collection of arrays see `tripleFromArrays` for a description of parameters
Definition at line 144 of file _multiband.py.
|
static |
Load a multiband exposure from a butler Because each band is stored in a separate exposure file, this method can be used to load all of the exposures for a given set of bands Parameters ---------- butler: `lsst.daf.butler.Butler` Butler connection to use to load the single band calibrated images bands: `list` or `str` List of names for each band args: `list` Arguments to the Butler. kwargs: `dict` Keyword arguments to pass to the Butler that are the same in all bands. Returns ------- result: `MultibandExposure` The new `MultibandExposure` created by combining all of the single band exposures.
Definition at line 194 of file _multiband.py.
|
static |
Construct a MultibandImage from a collection of single band images see `tripleFromExposures` for a description of parameters
Definition at line 135 of file _multiband.py.
|
static |
Build a MultibandImage from a set of keyword arguments see `makeTripleFromKwargs` for a description of parameters
Definition at line 152 of file _multiband.py.
lsst.afw.image._exposure._multiband.MultibandExposure.getPsfs | ( | self | ) |
Extract the PSF model in each band Returns ------- psfs : `dict` of `lsst.afw.detection.Psf` The PSF in each band
Definition at line 279 of file _multiband.py.
lsst.afw.image._exposure._multiband.MultibandExposure.singles |
Definition at line 131 of file _multiband.py.