You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was an issue that arose when trying to fit a PSF model to data with non-finite values. PSFPhotometry takes in a Fitter obj, however you can't specify filter_non_finite when instantiating a fitter class, only when its called. Because of this, theres no way to direct the fitter inside PSFPhotometry to filter nans. The solution to this would be to add a new filter_non_finite parameter to PSFPhotometry (and everything else in photutils that takes a fitter as input)
if the fitter classes were able to be initialized with filter_non_finite, this would solve the issue as well (@WilliamJamieson any thoughts?)
The text was updated successfully, but these errors were encountered:
This was an issue that arose when trying to fit a PSF model to data with non-finite values. PSFPhotometry takes in a Fitter obj, however you can't specify
filter_non_finite
when instantiating a fitter class, only when its called. Because of this, theres no way to direct the fitter inside PSFPhotometry to filter nans. The solution to this would be to add a newfilter_non_finite
parameter to PSFPhotometry (and everything else in photutils that takes a fitter as input)if the fitter classes were able to be initialized with
filter_non_finite
, this would solve the issue as well (@WilliamJamieson any thoughts?)The text was updated successfully, but these errors were encountered: