TesscutClass¶
-
class
astroquery.mast.TesscutClass[source]¶ Bases:
astroquery.query.BaseQueryMAST TESS FFI cutout query class.
Class for accessing TESS full-frame image cutouts.
Methods Summary
download_cutouts(coordinates[, size, …])Download cutout target pixel file(s) around the given coordinates with indicated size. get_cutouts(coordinates[, size, sector])Get cutout target pixel file(s) around the given coordinates with indicated size, and return them as a list of HDUListobjects.get_sectors(coordinates[, radius])Get a list of the TESS data sectors whose footprints intersect with the given search area. Methods Documentation
-
download_cutouts(coordinates, size=5, sector=None, path='.', inflate=True)[source]¶ Download cutout target pixel file(s) around the given coordinates with indicated size.
Parameters: coordinates : str or
astropy.coordinatesobjectThe target around which to search. It may be specified as a string or as the appropriate
astropy.coordinatesobject.size : int, array-like,
QuantityOptional, default 5 pixels. The size of the cutout array. If
sizeis a scalar number or a scalarQuantity, then a square cutout ofsizewill be created. Ifsizehas two elements, they should be in(ny, nx)order. Scalar numbers insizeare assumed to be in units of pixels.Quantityobjects must be in pixel or angular units.sector : int
Optional. The TESS sector to return the cutout from. If not supplied, cutouts from all available sectors on which the coordinate appears will be returned.
path : str
Optional. The directory in which the cutouts will be saved. Defaults to current directory.
inflate : bool
Optional, default True. Cutout target pixel files are returned from the server in a zip file, by default they will be inflated and the zip will be removed. Set inflate to false to stop before the inflate step.
Returns: response :
Table
-
get_cutouts(coordinates, size=5, sector=None)[source]¶ Get cutout target pixel file(s) around the given coordinates with indicated size, and return them as a list of
HDUListobjects.Parameters: coordinates : str or
astropy.coordinatesobjectThe target around which to search. It may be specified as a string or as the appropriate
astropy.coordinatesobject.size : int, array-like,
QuantityOptional, default 5 pixels. The size of the cutout array. If
sizeis a scalar number or a scalarQuantity, then a square cutout ofsizewill be created. Ifsizehas two elements, they should be in(ny, nx)order. Scalar numbers insizeare assumed to be in units of pixels.Quantityobjects must be in pixel or angular units.sector : int
Optional. The TESS sector to return the cutout from. If not supplied, cutouts from all available sectors on which the coordinate appears will be returned.
Returns: response : A list of
HDUListobjects.
-
get_sectors(coordinates, radius=<Quantity 0.2 deg>)[source]¶ Get a list of the TESS data sectors whose footprints intersect with the given search area.
Parameters: coordinates : str or
astropy.coordinatesobjectThe target around which to search. It may be specified as a string or as the appropriate
astropy.coordinatesobject.radius : str, float, or
Quantityobject, optionalDefault 0.2 degrees. If supplied as a float degrees is the assumed unit. The string must be parsable by
Angle. The appropriateQuantityobject fromastropy.unitsmay also be used.Returns: response :
TableSector/camera/chip information for given coordinates/raduis.
-