ra_dec_crossmatch

astrocut.ra_dec_crossmatch(all_ffis: Table, coordinates: SkyCoord, 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_ffisTable

Table of FFIs to crossmatch with the cutout.

coordinatesstr or astropy.coordinates.SkyCoord object

The position around which to cutout. It may be specified as a string (“ra dec” in degrees) or as the appropriate SkyCoord object.

cutout_sizeint, array-like, Quantity

The size of the cutout array. If cutout_size is a scalar number or a scalar Quantity, then a square cutout of cutout_size will be created. If cutout_size has two elements, they should be in (ny, nx) order. Scalar numbers in cutout_size are assumed to be in units of pixels. Quantity objects must be in pixel or angular units.

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.

Returns
matching_ffisTable

Table containing information about FFIs whose footprints overlap those of the cutout.