Skip to content

Commit

Permalink
mark display_psf_grid as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
mperrin committed Aug 5, 2024
1 parent cab6ef4 commit 9225b53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webbpsf/gridded_library.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import itertools
import os
from collections import OrderedDict
import astropy.utils.decorators

import astropy.convolution
import numpy as np
Expand Down Expand Up @@ -550,7 +551,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
Expand Down

0 comments on commit 9225b53

Please sign in to comment.