ra_dec_crossmatch
- astrocut.ra_dec_crossmatch(all_ffis: Table, coordinates: Union[SkyCoord, str], cutout_size, arcsec_per_px: int = 21) Table[source]
Returns the Full Frame Images (FFIs) whose footprints overlap with a cutout of a given position and size.
- Parameters
- all_ffis
Table Table of FFIs to crossmatch with the cutout.
- coordinatesstr or
astropy.coordinates.SkyCoordobject The position around which to cutout. It may be specified as a string (“ra dec” in degrees) or as the appropriate
SkyCoordobject.- cutout_sizeint, array-like,
Quantity The size of the cutout array. If
cutout_sizeis a scalar number or a scalarQuantity, then a square cutout ofcutout_sizewill be used. Ifcutout_sizehas two elements, they should be in(ny, nx)order. Scalar numbers incutout_sizeare assumed to be in units of pixels.Quantityobjects must be in pixel or angular units.If a cutout size of zero is provided, the function will return FFIs that contain the exact RA and Dec position. If a non-zero cutout size is provided, the function will return FFIs whose footprints overlap with the cutout area.
- arcsec_per_pxint, optional
Default 21. The number of arcseconds per pixel in an image. Used to determine the footprint of the cutout. Default is the number of arcseconds per pixel in a TESS image.
- all_ffis
- Returns
- matching_ffis
Table Table containing information about FFIs whose footprints overlap those of the cutout.
- matching_ffis