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:
- catalog
Table
The catalog of sources.
- catalog
See also
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
)