@@ -121,8 +121,7 @@ def get_sectors(self, coordinates=None, radius=0*u.deg, objectname=None, moving_
121
121
The target around which to search. It may be specified as a
122
122
string or as the appropriate `astropy.coordinates` object.
123
123
124
- NOTE: If moving_targets or objectname is supplied, this argument cannot be used.
125
-
124
+ NOTE: If moving_target or objectname is supplied, this argument cannot be used.
126
125
radius : str, float, or `~astropy.units.Quantity` object, optional
127
126
Default 0 degrees.
128
127
If supplied as a float degrees is the assumed unit.
@@ -131,20 +130,17 @@ def get_sectors(self, coordinates=None, radius=0*u.deg, objectname=None, moving_
131
130
`astropy.units` may also be used.
132
131
133
132
NOTE: If moving_target is supplied, this argument is ignored.
134
-
135
133
objectname : str, optional
136
134
The target around which to search, by name (objectname="M104")
137
135
or TIC ID (objectname="TIC 141914082"). If moving_target is True, input must be the name or ID (as understood by the
138
136
`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons.cgi>`__)
139
137
of a moving target such as an asteroid or comet.
140
138
141
139
NOTE: If coordinates is supplied, this argument cannot be used.
142
-
143
140
moving_target : bool, optional
144
141
Indicate whether the object is a moving target or not. Default is set to False, in other words, not a moving target.
145
142
146
143
NOTE: If coordinates is supplied, this argument cannot be used.
147
-
148
144
mt_type : str, optional
149
145
The moving target type, valid inputs are majorbody and smallbody. If not supplied
150
146
first majorbody is tried and then smallbody if a matching majorbody is not found.
@@ -208,7 +204,7 @@ def get_sectors(self, coordinates=None, radius=0*u.deg, objectname=None, moving_
208
204
return Table (sector_dict )
209
205
210
206
def download_cutouts (self , coordinates = None , size = 5 , sector = None , path = "." , inflate = True ,
211
- objectname = None , moving_target = None , mt_type = None ):
207
+ objectname = None , moving_target = False , mt_type = None ):
212
208
"""
213
209
Download cutout target pixel file(s) around the given coordinates with indicated size.
214
210
@@ -217,7 +213,8 @@ def download_cutouts(self, coordinates=None, size=5, sector=None, path=".", infl
217
213
coordinates : str or `astropy.coordinates` object, optional
218
214
The target around which to search. It may be specified as a
219
215
string or as the appropriate `astropy.coordinates` object.
220
- One and only one of coordinates, objectname, and moving_target must be supplied.
216
+
217
+ NOTE: If moving_target or objectname is supplied, this argument cannot be used.
221
218
size : int, array-like, `~astropy.units.Quantity`
222
219
Optional, default 5 pixels.
223
220
The size of the cutout array. If ``size`` is a scalar number or
@@ -241,17 +238,20 @@ def download_cutouts(self, coordinates=None, size=5, sector=None, path=".", infl
241
238
Set inflate to false to stop before the inflate step.
242
239
objectname : str, optional
243
240
The target around which to search, by name (objectname="M104")
244
- or TIC ID (objectname="TIC 141914082").
245
- One and only one of coordinates, objectname, and moving_target must be supplied.
246
- moving_target : str, optional
247
- The name or ID (as understood by the
241
+ or TIC ID (objectname="TIC 141914082"). If moving_target is True, input must be the name or ID (as understood by the
248
242
`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons.cgi>`__)
249
243
of a moving target such as an asteroid or comet.
250
- One and only one of coordinates, objectname, and moving_target must be supplied.
244
+
245
+ NOTE: If coordinates is supplied, this argument cannot be used.
246
+ moving_target : str, optional
247
+ Indicate whether the object is a moving target or not. Default is set to False, in other words, not a moving target.
248
+
249
+ NOTE: If coordinates is supplied, this argument cannot be used.
251
250
mt_type : str, optional
252
251
The moving target type, valid inputs are majorbody and smallbody. If not supplied
253
252
first majorbody is tried and then smallbody if a matching majorbody is not found.
254
- This argument is ignored unless moving_target is supplied.
253
+
254
+ NOTE: If moving_target is supplied, this argument is ignored.
255
255
256
256
Returns
257
257
-------
@@ -309,7 +309,7 @@ def download_cutouts(self, coordinates=None, size=5, sector=None, path=".", infl
309
309
return localpath_table
310
310
311
311
def get_cutouts (self , coordinates = None , size = 5 , sector = None ,
312
- objectname = None , moving_target = None , mt_type = None ):
312
+ objectname = None , moving_target = False , mt_type = None ):
313
313
"""
314
314
Get cutout target pixel file(s) around the given coordinates with indicated size,
315
315
and return them as a list of `~astropy.io.fits.HDUList` objects.
@@ -319,7 +319,8 @@ def get_cutouts(self, coordinates=None, size=5, sector=None,
319
319
coordinates : str or `astropy.coordinates` object, optional
320
320
The target around which to search. It may be specified as a
321
321
string or as the appropriate `astropy.coordinates` object.
322
- One and only one of coordinates, objectname, and moving_target must be supplied.
322
+
323
+ NOTE: If moving_target or objectname is supplied, this argument cannot be used.
323
324
size : int, array-like, `~astropy.units.Quantity`
324
325
Optional, default 5 pixels.
325
326
The size of the cutout array. If ``size`` is a scalar number or
@@ -334,17 +335,20 @@ def get_cutouts(self, coordinates=None, size=5, sector=None,
334
335
from all available sectors on which the coordinate appears will be returned.
335
336
objectname : str, optional
336
337
The target around which to search, by name (objectname="M104")
337
- or TIC ID (objectname="TIC 141914082").
338
- One and only one of coordinates, objectname, and moving_target must be supplied.
339
- moving_target : str, optional
340
- The name or ID (as understood by the
338
+ or TIC ID (objectname="TIC 141914082"). If moving_target is True, input must be the name or ID (as understood by the
341
339
`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons.cgi>`__)
342
340
of a moving target such as an asteroid or comet.
343
- One and only one of coordinates, objectname, and moving_target must be supplied.
341
+
342
+ NOTE: If coordinates is supplied, this argument cannot be used.
343
+ moving_target : str, optional
344
+ Indicate whether the object is a moving target or not. Default is set to False, in other words, not a moving target.
345
+
346
+ NOTE: If coordinates is supplied, this argument cannot be used.
344
347
mt_type : str, optional
345
348
The moving target type, valid inputs are majorbody and smallbody. If not supplied
346
349
first majorbody is tried and then smallbody if a matching majorbody is not found.
347
- This argument is ignored unless moving_target is supplied.
350
+
351
+ NOTE: If moving_target is supplied, this argument is ignored.
348
352
349
353
Returns
350
354
-------
0 commit comments