get_tess_sectors

astrocut.get_tess_sectors(coordinates: Union[str, SkyCoord], cutout_size: Union[int, Quantity, List[int], Tuple[int]]) Table[source]

Return the TESS sectors (sequence, camera, CCD) whose FFI footprints overlap the given cutout defined by position and size.

Parameters
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, or 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 used. 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.

If a cutout size of zero is provided, the function will return sectors that contain the exact RA and Dec position. If a non-zero cutout size is provided, the function will return sectors whose footprints overlap with the cutout area.

Returns
Table

A table containing the sector name, sector number, camera number, and CCD number for each sector that contains the specified coordinates within the cutout size.