Skip to content

Commit

Permalink
minor change in documentation and explicity type of exception
Browse files Browse the repository at this point in the history
  • Loading branch information
sibirrer committed Jun 11, 2024
1 parent bbd3f75 commit 654a3da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lenstronomy/Data/psf.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def set_pixel_size(self, deltaPix):
if self.psf_type == "GAUSSIAN":
try:
del self._kernel_point_source
except:
except NameError:
pass

@property
Expand All @@ -226,7 +226,7 @@ def psf_error_map(self):
def fwhm(self):
"""
:return: full width at half maximum of kernel (in units of pixel)
:return: full width at half maximum of kernel (in units of angle)
"""
if self.psf_type == "GAUSSIAN":
return self._fwhm
Expand Down

0 comments on commit 654a3da

Please sign in to comment.