This addresses #887 by marking display_psf_grid as deprecated, using an astropy decorator for marking deprecation.
I'm not actually sure this is the best way to do this, and welcome suggestions if there's a better way. I see there's also a PEP 702 to add a similar @deprecated to the standard library but it's not yet available even in py 3.12, so that doesn't work. In any case we can informally deprecate (and I'm separately revising the docs and example code in #899 already), so this PR is just attempting to mark the deprecation in code, in some suitable manner.
This addresses #887 by marking
display_psf_grid
as deprecated, using an astropy decorator for marking deprecation.I'm not actually sure this is the best way to do this, and welcome suggestions if there's a better way. I see there's also a PEP 702 to add a similar
@deprecated
to the standard library but it's not yet available even in py 3.12, so that doesn't work. In any case we can informally deprecate (and I'm separately revising the docs and example code in #899 already), so this PR is just attempting to mark the deprecation in code, in some suitable manner.