From 28d43683fb7caffa34f06a98cda3968baf42688d Mon Sep 17 00:00:00 2001 From: Marshall Perrin Date: Mon, 5 Aug 2024 13:51:24 -0400 Subject: [PATCH] mark display_psf_grid as deprecated --- webbpsf/gridded_library.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webbpsf/gridded_library.py b/webbpsf/gridded_library.py index 10f8d1e0..637f3aff 100644 --- a/webbpsf/gridded_library.py +++ b/webbpsf/gridded_library.py @@ -1,6 +1,7 @@ import itertools import os from collections import OrderedDict +import astropy.utils.decorators import astropy.convolution import numpy as np @@ -551,6 +552,7 @@ def writeto(self, data, meta, detector): hdu.writeto(file, overwrite=self.overwrite) +@astropy.utils.decorators.deprecated('1.3.0', alternative='photutils.psf.GriddedPSFModel.plot_grid') def display_psf_grid(grid, zoom_in=True, figsize=(14, 12), scale_range=1e-4, diff_scale_range=1, cmap=None): """Display a PSF grid in a pair of plots