load_irac_psf#
- photutils.datasets.load_irac_psf(channel, show_progress=False)[source]#
Deprecated since version 3.1: This function was deprecated in version 3.1 and will be removed in version 4.0.
Load a Spitzer IRAC PSF image.
- Parameters:
- channel{1, 2, 3, 4}
The IRAC channel number:
Channel 1: 3.6 microns
Channel 2: 4.5 microns
Channel 3: 5.8 microns
Channel 4: 8.0 microns
- show_progressbool, optional
Whether to display a progress bar during the download (default is
False).
- Returns:
- hdu
ImageHDU The IRAC PSF in a FITS image HDU. The PSF is oversampled by a factor of 4 relative to the detector pixels and is normalized to a sum of 1.
- hdu
- Raises:
- ValueError
If
channelis not 1, 2, 3, or 4.