@@ -85,7 +85,7 @@ def _submit_form(self, input=None, cache=True):
85
85
response .raise_for_status ()
86
86
return response
87
87
88
- def get_images (self , position , survey , coordinates = None , projection = None ,
88
+ def get_images (self , position , survey , * , coordinates = None , projection = None ,
89
89
pixels = None , scaling = None , sampler = None , resolver = None ,
90
90
deedger = None , lut = None , grid = None , gridlabels = None ,
91
91
radius = None , height = None , width = None , cache = True ,
@@ -198,18 +198,16 @@ def get_images(self, position, survey, coordinates=None, projection=None,
198
198
A list of `~astropy.io.fits.HDUList` objects.
199
199
200
200
"""
201
- readable_objects = self .get_images_async (position , survey , coordinates ,
202
- projection , pixels , scaling ,
203
- sampler , resolver , deedger ,
204
- lut , grid , gridlabels ,
205
- radius = radius , height = height ,
206
- width = width ,
207
- cache = cache ,
208
- show_progress = show_progress )
201
+ readable_objects = self .get_images_async (position , survey , coordinates = coordinates ,
202
+ projection = projection , pixels = pixels , scaling = scaling ,
203
+ sampler = sampler , resolver = resolver , deedger = deedger ,
204
+ lut = lut , grid = grid , gridlabels = gridlabels ,
205
+ radius = radius , height = height , width = width ,
206
+ cache = cache , show_progress = show_progress )
209
207
return [obj .get_fits () for obj in readable_objects ]
210
208
211
209
@prepend_docstr_nosections (get_images .__doc__ )
212
- def get_images_async (self , position , survey , coordinates = None ,
210
+ def get_images_async (self , position , survey , * , coordinates = None ,
213
211
projection = None , pixels = None , scaling = None ,
214
212
sampler = None , resolver = None , deedger = None , lut = None ,
215
213
grid = None , gridlabels = None , radius = None , height = None ,
@@ -219,18 +217,18 @@ def get_images_async(self, position, survey, coordinates=None,
219
217
-------
220
218
A list of context-managers that yield readable file-like objects
221
219
"""
222
- image_urls = self .get_image_list (position , survey , coordinates ,
223
- projection , pixels , scaling , sampler ,
224
- resolver , deedger , lut , grid ,
225
- gridlabels , radius = radius ,
220
+ image_urls = self .get_image_list (position , survey , coordinates = coordinates ,
221
+ projection = projection , pixels = pixels , scaling = scaling , sampler = sampler ,
222
+ resolver = resolver , deedger = deedger , lut = lut , grid = grid ,
223
+ gridlabels = gridlabels , radius = radius ,
226
224
height = height , width = width ,
227
225
cache = cache )
228
226
return [commons .FileContainer (url , encoding = 'binary' ,
229
227
show_progress = show_progress )
230
228
for url in image_urls ]
231
229
232
230
@prepend_docstr_nosections (get_images .__doc__ , sections = ['Returns' , 'Examples' ])
233
- def get_image_list (self , position , survey , coordinates = None ,
231
+ def get_image_list (self , position , survey , * , coordinates = None ,
234
232
projection = None , pixels = None , scaling = None ,
235
233
sampler = None , resolver = None , deedger = None , lut = None ,
236
234
grid = None , gridlabels = None , radius = None , width = None ,
0 commit comments