load_spitzer_image#
- photutils.datasets.load_spitzer_image(show_progress=False)[source]#
Load a 4.5 micron Spitzer image.
The catalog for this image is returned by
load_spitzer_catalog()
.- Parameters:
- show_progressbool, optional
Whether to display a progress bar during the download (default is
False
).
- Returns:
- hdu
ImageHDU
The 4.5 micron Spitzer image in a FITS image HDU.
- hdu
See also
Examples
import matplotlib.pyplot as plt from photutils.datasets import load_spitzer_image hdu = load_spitzer_image() plt.imshow(hdu.data, origin='lower', vmax=50)
(
Source code
,png
,hires.png
,pdf
,svg
)