Skip to content

Commit a31ffd6

Browse files
committed
Drop lut, grid, and gridlabel overlay args
1 parent 2f87333 commit a31ffd6

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

astroquery/skyview/core.py

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ def _submit_form(self, input=None, cache=True):
8787

8888
def get_images(self, position, survey, *, coordinates=None, projection=None,
8989
pixels=None, scaling=None, sampler=None, resolver=None,
90-
deedger=None, lut=None, grid=None, gridlabels=None,
91-
radius=None, height=None, width=None, cache=True,
90+
deedger=None, radius=None, height=None, width=None, cache=True,
9291
show_progress=True):
9392
"""
9493
Query the SkyView service, download the FITS file that will be
@@ -164,13 +163,6 @@ def get_images(self, position, survey, *, coordinates=None, projection=None,
164163
de-edging algorithm. The supported values are: ``"_skip_"`` to
165164
use the survey default, ``"skyview.process.Deedger"`` (for
166165
enabling de-edging), and ``"null"`` to disable.
167-
lut : str
168-
Choose from the color table selections to display the data in
169-
false color.
170-
grid : bool
171-
overlay a coordinate grid on the image if True
172-
gridlabels : bool
173-
annotate the grid with coordinates positions if True
174166
radius : `~astropy.units.Quantity` or None
175167
The angular radius of the specified field.
176168
Overrides the ``width`` and ``height`` parameters.
@@ -204,38 +196,34 @@ def get_images(self, position, survey, *, coordinates=None, projection=None,
204196
readable_objects = self.get_images_async(position, survey, coordinates=coordinates,
205197
projection=projection, pixels=pixels, scaling=scaling,
206198
sampler=sampler, resolver=resolver, deedger=deedger,
207-
lut=lut, grid=grid, gridlabels=gridlabels,
208199
radius=radius, height=height, width=width,
209200
cache=cache, show_progress=show_progress)
210201
return [obj.get_fits() for obj in readable_objects]
211202

212203
@prepend_docstr_nosections(get_images.__doc__)
213204
def get_images_async(self, position, survey, *, coordinates=None,
214205
projection=None, pixels=None, scaling=None,
215-
sampler=None, resolver=None, deedger=None, lut=None,
216-
grid=None, gridlabels=None, radius=None, height=None,
217-
width=None, cache=True, show_progress=True):
206+
sampler=None, resolver=None, deedger=None,
207+
radius=None, height=None, width=None,
208+
cache=True, show_progress=True):
218209
"""
219210
Returns
220211
-------
221212
A list of context-managers that yield readable file-like objects
222213
"""
223214
image_urls = self.get_image_list(position, survey, coordinates=coordinates,
224215
projection=projection, pixels=pixels, scaling=scaling, sampler=sampler,
225-
resolver=resolver, deedger=deedger, lut=lut, grid=grid,
226-
gridlabels=gridlabels, radius=radius,
227-
height=height, width=width,
228-
cache=cache)
216+
resolver=resolver, deedger=deedger, radius=radius,
217+
height=height, width=width, cache=cache)
229218
return [commons.FileContainer(url, encoding='binary',
230219
show_progress=show_progress)
231220
for url in image_urls]
232221

233222
@prepend_docstr_nosections(get_images.__doc__, sections=['Returns', 'Examples'])
234223
def get_image_list(self, position, survey, *, coordinates=None,
235224
projection=None, pixels=None, scaling=None,
236-
sampler=None, resolver=None, deedger=None, lut=None,
237-
grid=None, gridlabels=None, radius=None, width=None,
238-
height=None, cache=True):
225+
sampler=None, resolver=None, deedger=None,
226+
radius=None, width=None, height=None, cache=True):
239227
"""
240228
Returns
241229
-------
@@ -267,12 +255,9 @@ def get_image_list(self, position, survey, *, coordinates=None,
267255
'Position': parse_coordinates(position),
268256
'survey': survey,
269257
'Deedger': deedger,
270-
'lut': lut,
271258
'projection': projection,
272-
'gridlabels': '1' if gridlabels else '0',
273259
'coordinates': coordinates,
274260
'scaling': scaling,
275-
'grid': grid,
276261
'resolver': resolver,
277262
'Sampler': sampler,
278263
'imscale': size_deg,

0 commit comments

Comments
 (0)