Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mark display_psf_grid as deprecated #901

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 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 @@ -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

Expand Down
Loading