load_spitzer_catalog#

photutils.datasets.load_spitzer_catalog(show_progress=False)[source]#

Load a 4.5 micron Spitzer catalog.

The image from which this catalog was derived is returned by load_spitzer_image().

Parameters:
show_progressbool, optional

Whether to display a progress bar during the download (default is False).

Returns:
catalogTable

The catalog of sources.

Examples

import matplotlib.pyplot as plt
from photutils.datasets import load_spitzer_catalog

catalog = load_spitzer_catalog()
plt.scatter(catalog['l'], catalog['b'])
plt.xlabel('Galactic l')
plt.ylabel('Galactic b')
plt.xlim(18.39, 18.05)
plt.ylim(0.13, 0.30)

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

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