refcat2#
- stellarphot.core.refcat2(field_center, radius=<Quantity 1. deg>, clip_by_frame=False, padding=100, magnitude_limit=None, magnitude_limit_passband=None)[source]#
Return the items from Refcat2 that are within the search radius and (optionally) within the field of view of a frame.
- Parameters:
- field_center
astropy.coordinates.SkyCoord,astropy.wcs.WCS, or FITS header Either a
SkyCoordobject, aWCSobject or a FITS header with WCS information. The input coordinate should be the center of the frame; if a header or WCS is the input then the center of the frame will be determined from the WCS.- radius
astropy.units.Quantity, optional Radius around which to search.
- clip_by_framebool, optional
If
True, only return items that are within the field of view of the frame.- paddingint, optional
Coordinates need to be at least this many pixels in from the edge of the frame to be considered in the field of view. Default value is 100.
- magnitude_limitfloat, optional
If provided, only return items with magnitudes less than or equal to this value.
- magnitude_limit_passbandstr, optional, default is “SR”
If provided, the passband to use for the magnitude limit. The name of the passband must be one of the AAVSO standard passband names.
- field_center
- Returns:
stellarphot.CatalogDataTable of catalog information.
Notes
Refcat2 includes Gaia DR2 RA/Dec and magnitudes but does not include the Gaia DR2 ID number. This function looks up the Gaia DR2 ID number and uses it as the ID column.
The reference for the refcat2 paper is:
Tonry, J. L., Denneau, L., Flewelling, H., et al. 2018, ApJ, 867, https://iopscience.iop.org/article/10.3847/1538-4357/aae386