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
hduImageHDU

The 4.5 micron Spitzer image in a FITS image HDU.

Examples

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)

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