Star Psf

[Solved] Star Psf | Whatever - Code Explorer | yomemimo.com
Question : star psf

Answered by : faithful-finch-bsyeprfluhwd

>>> import matplotlib.pyplot as plt
>>> from astropy.visualization import simple_norm
>>> nrows = 5
>>> ncols = 5
>>> fig, ax = plt.subplots(nrows=nrows, ncols=ncols, figsize=(20, 20),
... squeeze=True)
>>> ax = ax.ravel()
>>> for i in range(nrows*ncols):
... norm = simple_norm(stars[i], 'log', percent=99.)
... ax[i].imshow(stars[i], norm=norm, origin='lower', cmap='viridis')

Source : https://photutils.readthedocs.io/en/stable/epsf.html#build-epsf | Last Update : Sat, 01 May 21

Answers related to star psf

Code Explorer Popular Question For Whatever