load_simulated_hst_star_image#
- photutils.datasets.load_simulated_hst_star_image(show_progress=False)[source]#
Load a simulated HST WFC3/IR F160W image of stars.
The simulated image does not contain any background or noise.
- Parameters:
- show_progressbool, optional
Whether to display a progress bar during the download (default is
False
).
- Returns:
- hdu
ImageHDU
A FITS image HDU containing the simulated HST star image.
- hdu
Examples
import matplotlib.pyplot as plt from photutils.datasets import load_simulated_hst_star_image hdu = load_simulated_hst_star_image() plt.imshow(hdu.data, origin='lower', interpolation='nearest')
(
Source code
,png
,hires.png
,pdf
,svg
)