compute_fwhm()
throws exception on images with NaN
#142
Labels
refactor
Summer 2023 project to rewrite stellarphot
compute_fwhm()
throws exception on images with NaN
#142
In essence, it would be nice if the photometry code in
single_image_photometry()
could use NaN to flag saturated pixels, as the photometry routines all know to ignore NaN and process the images correctly. The oldphotutils_stellar_photometry()
function used this approach. Unfortunately, when callingcompute_fwhm()
an exception is thrown because NaN are not allowed in input data by theLevMarLSQFitter()
function.The text was updated successfully, but these errors were encountered: