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:
hduImageHDU

A FITS image HDU containing the simulated HST star image.

Examples

import matplotlib.pyplot as plt
from astropy.visualization import simple_norm
from photutils.datasets import load_simulated_hst_star_image

hdu = load_simulated_hst_star_image()
fig, ax = plt.subplots()
norm = simple_norm(hdu.data, 'sqrt', percent=99.5)
ax.imshow(hdu.data, norm=norm, origin='lower')

(Source code, png, hires.png, pdf, svg)

../_images/photutils-datasets-load_simulated_hst_star_image-1.png