@@ -884,25 +884,34 @@ TESSCut
884
884
=======
885
885
886
886
TESSCut is MAST's tool to provide full-frame image (FFI) cutouts from the Transiting
887
- Exoplanet Survey Satellite (TESS). The cutouts are returned in the form of target pixel
888
- files that follow the same format as TESS pipeline target pixel files. This tool can
889
- be accessed in Astroquery by using the Tesscut class.
887
+ Exoplanet Survey Satellite (TESS). The cutouts can be made from either the Science
888
+ Processing Operation's Center (`SPOC <https://archive.stsci.edu/missions-and-data/tess >`__) FFI products,
889
+ or the TESS Image CAlibrator (`TICA <https://archive.stsci.edu/hlsp/tica >`__) high-level science products.
890
+ Cutouts from the TICA products are not available for sectors 1-26,
891
+ but are available for sector 27 onwards. These products are available up to 3 weeks sooner than
892
+ their SPOC counterparts for the latest sector, so it is recommended to request TICA cutouts
893
+ for users working with time-sensitive observations. The cutouts from either SPOC or TICA products
894
+ are returned in the form of target pixel files that follow the same format as TESS pipeline target
895
+ pixel files. This tool can be accessed in Astroquery by using the Tesscut class.
890
896
891
897
**Note: ** TESScut limits each user to no more than 10 simultaneous calls to the service.
892
898
After the user has reached this limit TESScut will return a
893
899
``503 Service Temporarily Unavailable Error ``.
894
900
901
+ **Note: ** The moving targets functionality does not currently support making cutouts from
902
+ TICA products, so the product argument will always default to SPOC.
903
+
895
904
If you use TESSCut for your work, please cite Brasseur et al. 2019
896
905
https://ui.adsabs.harvard.edu/abs/2019ascl.soft05007B/abstract
897
906
898
907
899
908
Cutouts
900
909
-------
901
910
902
- The `~astroquery.mast.TesscutClass.get_cutouts ` function takes a coordinate, object name
903
- (i.e. "M104 " or "TIC 32449963" ), or moving target (i.e. "Eleonora") and cutout size
904
- (in pixels or an angular quantity ) and returns the cutout target pixel file(s) as a
905
- list of `~astropy.io.fits.HDUList ` objects.
911
+ The `~astroquery.mast.TesscutClass.get_cutouts ` function takes a product type
912
+ ("TICA " or "SPOC", but defaults to "SPOC" ), coordinate, object name (e.g. "M104" or "TIC 32449963"),
913
+ or moving target (e.g. "Eleonora" ) and cutout size (in pixels or an angular quantity)
914
+ and returns the cutout target pixel file(s) as a list of `~astropy.io.fits.HDUList ` objects.
906
915
907
916
If the given coordinate/object location appears in more than one TESS sector a target pixel
908
917
file will be produced for each sector. If the cutout area overlaps more than one camera or
@@ -912,6 +921,8 @@ Requesting a cutout by coordinate or objectname accesses the
912
921
`MAST TESScut API <https://mast.stsci.edu/tesscut/docs/getting_started.html#requesting-a-cutout >`__
913
922
and returns a target pixel file, with format described
914
923
`here <https://astrocut.readthedocs.io/en/latest/astrocut/file_formats.html#target-pixel-files >`__.
924
+ Note that the `product ` argument will default to request for SPOC cutouts when
925
+ not explicitly called for TICA.
915
926
916
927
.. doctest-remote-data ::
917
928
@@ -927,6 +938,22 @@ and returns a target pixel file, with format described
927
938
1 PIXELS 1 BinTableHDU 280 1196R x 12C [D, E, J, 25J, 25E, 25E, 25E, 25E, J, E, E, 38A]
928
939
2 APERTURE 1 ImageHDU 81 (5, 5) int32
929
940
941
+ For users with time-sensitive targets who would like cutouts from the latest observations,
942
+ we recommend requesting for the TICA product. Using the same target from the example above,
943
+ let's request for the TICA cutouts:
944
+
945
+ .. doctest-remote-data ::
946
+
947
+ >>> from astroquery.mast import Tesscut
948
+ >>> from astropy.coordinates import SkyCoord
949
+ ...
950
+ >>> cutout_coord = SkyCoord(107.18696 , - 70.50919 , unit = " deg" )
951
+ >>> hdulist = Tesscut.get_cutouts(coordinates = cutout_coord, size = 5 , product = ' tica' )
952
+ >>> hdulist[0 ][0 ].header[' FFI_TYPE' ] # doctest: +IGNORE_OUTPUT
953
+ 'TICA'
954
+
955
+ The following example will request SPOC cutouts using the `objectname ` argument, rather
956
+ than a set of coordinates.
930
957
931
958
.. doctest-remote-data ::
932
959
@@ -963,9 +990,20 @@ simply with either the objectname or coordinates.
963
990
1 PIXELS 1 BinTableHDU 150 355R x 16C [D, E, J, 25J, 25E, 25E, 25E, 25E, J, E, E, 38A, D, D, D, D]
964
991
2 APERTURE 1 ImageHDU 97 (2136, 2078) int32
965
992
993
+ Note that the moving targets functionality does not currently support TICA, so the `product `
994
+ parameter will always default to SPOC.
995
+
996
+ .. doctest-remote-data ::
966
997
967
- The `~astroquery.mast.TesscutClass.download_cutouts ` function takes a coordinate, cutout size
968
- (in pixels or an angular quantity), or object name (i.e. "M104" or "TIC 32449963") and moving target
998
+ >>> from astroquery.mast import Tesscut
999
+ ...
1000
+ >>> hdulist = Tesscut.get_cutouts(objectname = " Eleonora" , product = ' tica' , moving_target = True , size = 5 , sector = 6 )
1001
+ WARNING: InputWarning: Only SPOC is available for moving targets queries. Defaulting to SPOC. [astroquery.mast.cutouts]
1002
+ >>> hdulist[0 ][0 ].header[' FFI_TYPE' ] # doctest: +IGNORE_OUTPUT
1003
+ 'SPOC'
1004
+
1005
+ The `~astroquery.mast.TesscutClass.download_cutouts ` function takes a product type ("TICA" or "SPOC", but defaults to "SPOC"),
1006
+ coordinate, cutout size (in pixels or an angular quantity), or object name (e.g. "M104" or "TIC 32449963") and moving target
969
1007
(True or False). It uses these parameters to download the cutout target pixel file(s).
970
1008
971
1009
If a given coordinate/object/moving target appears in more than one TESS sector, a target pixel file
@@ -981,13 +1019,28 @@ pixel file will be produced for each one.
981
1019
>>> cutout_coord = SkyCoord(107.18696 , - 70.50919 , unit = " deg" )
982
1020
>>> manifest = Tesscut.download_cutouts(coordinates = cutout_coord, size = [5 , 7 ]* u.arcmin, sector = 9 ) # doctest: +IGNORE_OUTPUT
983
1021
Downloading URL https://mast.stsci.edu/tesscut/api/v0.1/astrocut?ra=107.18696&dec=-70.50919&y=0.08333333333333333&x=0.11666666666666667&units=d§or=9 to ./tesscut_20210716150026.zip ... [Done]
984
- Inflating...
985
- ...
986
1022
>>> print (manifest) # doctest: +IGNORE_OUTPUT
987
1023
Local Path
988
1024
----------------------------------------------------------
989
1025
./tess-s0009-4-1_107.186960_-70.509190_21x15_astrocut.fits
990
1026
1027
+ The query from the example above defaults to downloading cutouts from SPOC. The following example is a query for
1028
+ the same target from above, but with the `products ` argument passed as TICA to explicitly request for TICA cutouts,
1029
+ and because the TICA products are not available for sectors 1-26, we request cutouts from sector 27 rather than sector 9.
1030
+
1031
+ .. doctest-remote-data ::
1032
+
1033
+ >>> from astroquery.mast import Tesscut
1034
+ >>> from astropy.coordinates import SkyCoord
1035
+ >>> import astropy.units as u
1036
+ ...
1037
+ >>> cutout_coord = SkyCoord(107.18696 , - 70.50919 , unit = " deg" )
1038
+ >>> manifest = Tesscut.download_cutouts(coordinates = cutout_coord, product = ' tica' , size = [5 , 7 ]* u.arcmin, sector = 27 ) # doctest: +IGNORE_OUTPUT
1039
+ Downloading URL https://mast.stsci.edu/tesscut/api/v0.1/astrocut?ra=107.18696&dec=-70.50919&y=0.08333333333333333&x=0.11666666666666667&units=d&product=TICA§or=27 to ./tesscut_20230214150644.zip ... [Done]
1040
+ >>> print (manifest) # doctest: +IGNORE_OUTPUT
1041
+ Local Path
1042
+ ----------------------------------------------------------
1043
+ ./tica-s0027-4-2_107.186960_-70.509190_21x14_astrocut.fits
991
1044
992
1045
Sector information
993
1046
------------------
@@ -1000,12 +1053,35 @@ To access sector information for a particular coordinate, object, or moving targ
1000
1053
>>> from astroquery.mast import Tesscut
1001
1054
>>> from astropy.coordinates import SkyCoord
1002
1055
...
1003
- >>> coord = SkyCoord(324.24368 , - 27.01029 , unit = " deg" )
1056
+ >>> coord = SkyCoord(135.1408 , - 5.1915 , unit = " deg" )
1004
1057
>>> sector_table = Tesscut.get_sectors(coordinates = coord)
1005
1058
>>> print (sector_table) # doctest: +IGNORE_OUTPUT
1006
1059
sectorName sector camera ccd
1007
1060
-------------- ------ ------ ---
1008
- tess-s0028-1-4 28 1 4
1061
+ tess-s0008-1-1 8 1 1
1062
+ tess-s0034-1-2 34 1 2
1063
+
1064
+ Note that because of the delivery cadence of the
1065
+ TICA high level science products, later sectors will be available sooner with TICA than with
1066
+ SPOC. Also note that TICA is not available for sectors 1-26. The following example is the same
1067
+ query as above, but for TICA. Notice that products for sector 8 are no longer available,
1068
+ but are now available for sector 61.
1069
+
1070
+ .. doctest-remote-data ::
1071
+
1072
+ >>> from astroquery.mast import Tesscut
1073
+ >>> from astropy.coordinates import SkyCoord
1074
+ ...
1075
+ >>> coord = SkyCoord(135.1408 , - 5.1915 , unit = " deg" )
1076
+ >>> sector_table = Tesscut.get_sectors(coordinates = coord, product = ' tica' )
1077
+ >>> print (sector_table) # doctest: +IGNORE_OUTPUT
1078
+ sectorName sector camera ccd
1079
+ -------------- ------ ------ ---
1080
+ tica-s0034-1-2 34 1 2
1081
+ tica-s0061-1-2 61 1 2
1082
+
1083
+ The following example will request SPOC cutouts using the `objectname ` argument, rather
1084
+ than a set of coordinates.
1009
1085
1010
1086
.. doctest-remote-data ::
1011
1087
@@ -1017,6 +1093,7 @@ To access sector information for a particular coordinate, object, or moving targ
1017
1093
-------------- ------ ------ ---
1018
1094
tess-s0010-1-4 10 1 4
1019
1095
1096
+ The following example requests SPOC cutouts for a moving target.
1020
1097
1021
1098
.. doctest-remote-data ::
1022
1099
@@ -1030,6 +1107,21 @@ To access sector information for a particular coordinate, object, or moving targ
1030
1107
tess-s0043-3-3 43 3 3
1031
1108
tess-s0044-2-4 44 2 4
1032
1109
1110
+ Note that the moving targets functionality is not currently available for TICA,
1111
+ so the query will always default to SPOC.
1112
+
1113
+ .. doctest-remote-data ::
1114
+
1115
+ >>> from astroquery.mast import Tesscut
1116
+ ...
1117
+ >>> sector_table = Tesscut.get_sectors(objectname = " Ceres" , moving_target = True )
1118
+ WARNING: InputWarning: Only SPOC is available for moving targets queries. Defaulting to SPOC. [astroquery.mast.cutouts]
1119
+ >>> print (sector_table)
1120
+ sectorName sector camera ccd
1121
+ -------------- ------ ------ ---
1122
+ tess-s0029-1-4 29 1 4
1123
+ tess-s0043-3-3 43 3 3
1124
+ tess-s0044-2-4 44 2 4
1033
1125
1034
1126
Zcut
1035
1127
====
0 commit comments