With this PR, psf_shape is now an optional keyword in the make_model_image and make_residual_image methods of PSFPhotometry and IterativePSFPhotometry. The value defaults to using the model bounding box to define the shape and is required only if the PSF model does not have a bounding box attribute.
This PR also fixes an issue in make_model_image where if the bbox_factor was input and the model bounding box did not have a factor keyword then an error would be raised.
With this PR,
psf_shape
is now an optional keyword in themake_model_image
andmake_residual_image
methods ofPSFPhotometry
andIterativePSFPhotometry
. The value defaults to using the model bounding box to define the shape and is required only if the PSF model does not have a bounding box attribute.This PR also fixes an issue in
make_model_image
where if thebbox_factor
was input and the model bounding box did not have afactor
keyword then an error would be raised.