This PR refactor the PSF photometry class to internally store the fitted PSF model parameters instead of the model instances. This is the first step to parallelizing the fitting code.
This PR also introduces the following changes:
PSFPhotometry now has a new fit_params attribute containing a table of the fit model parameters and errors.
The fit_param_errs key was removed from the PSFPhotometryfit_results dictionary. The fit parameter errors are now stored in the new fit_params table.
The cfit column in the PSFPhotometry and IterativePSFPhotometry result table will now be NaN for sources whose initial central pixel is masked.
This PR refactor the PSF photometry class to internally store the fitted PSF model parameters instead of the model instances. This is the first step to parallelizing the fitting code.
This PR also introduces the following changes:
PSFPhotometry
now has a newfit_params
attribute containing a table of the fit model parameters and errors.fit_param_errs
key was removed from thePSFPhotometry
fit_results
dictionary. The fit parameter errors are now stored in the newfit_params
table.cfit
column in thePSFPhotometry
andIterativePSFPhotometry
result table will now be NaN for sources whose initial central pixel is masked.