Skip to content

Commit

Permalink
Address reviewer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fred3m authored and Matthias Wittgen committed Oct 15, 2023
1 parent 9fb576e commit e25746d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions python/lsst/afw/image/_exposure/_multiband.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ class IncompleteDataError(Exception):
partialPsf: `MultibandImage`
The image of the PSF using only the bands that successfully
computed a PSF image.
Parameters
----------
bands : `list` of `str`
The full list of bands in the `MultibandExposure` generating
the PSF.
"""
def __init__(self, bands, position, partialPsf):
missingBands = [band for band in bands if band not in partialPsf.filters]
Expand Down Expand Up @@ -74,7 +80,7 @@ def computePsfImage(psfModels, position, useKernelImage=True):
Returns
-------
psfs: `np.ndarray`
psfs: `lsst.afw.image.MultibandImage`
The multiband PSF image.
"""
psfs = {}
Expand Down Expand Up @@ -275,7 +281,7 @@ def getPsfs(self):
Returns
-------
psfs : `list` of `lsst.afw.detection.Psf`
psfs : `dict` of `lsst.afw.detection.Psf`
The PSF in each band
"""
return {band: self[band].getPsf() for band in self.filters}
Expand Down

0 comments on commit e25746d

Please sign in to comment.