load_star_image¶
- photutils.datasets.load_star_image(show_progress=False)[source]¶
Load an optical image of stars.
This is an image of M67 from photographic data obtained as part of the National Geographic Society - Palomar Observatory Sky Survey (NGS-POSS). The image was digitized from the POSS-I Red plates as part of the Digitized Sky Survey produced at the Space Telescope Science Institute.
- Parameters:
- show_progressbool, optional
Whether to display a progress bar during the download (default is
False
).
- Returns:
- hdu
ImageHDU
The M67 image in a FITS image HDU.
- hdu
Examples
import matplotlib.pyplot as plt from photutils.datasets import load_star_image hdu = load_star_image() plt.imshow(hdu.data, origin='lower', interpolation='nearest')
(
Source code
,png
,hires.png
,pdf
,svg
)