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.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, or
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 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.
- coordinatesstr or
- Returns
TableA table containing the sector name, sector number, camera number, and CCD number for each sector that contains the specified coordinates within the cutout size.