Skip to content

Commit a2032e3

Browse files
committed
Refine cutout examples for more succinct docs
1 parent c7e2df5 commit a2032e3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/casda/casda.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ below:
158158
>>> url_list = casda.cutout(subset[:1], coordinates=centre, radius=14*u.arcmin)
159159
>>> filelist = casda.download_files(url_list, savedir='/tmp')
160160

161-
An example script to download a 3D cutout from the WALLABY Pre-Pilot Eridanus cube at a specified position and velocity
161+
An example script to download a 3D cutout from the WALLABY Pre-Pilot Eridanus cube at a specified position, velocity, and range
162162
is shown below:
163163

164164
.. doctest-skip::
@@ -176,8 +176,8 @@ is shown below:
176176
>>> url_list = casda.cutout(eridanus_cube, coordinates=centre, radius=9*u.arcmin, band=freq)
177177
>>> filelist = casda.download_files(url_list, savedir='/tmp')
178178

179-
An example script to download a 3D cutout from the WALLABY Pre-Pilot Eridanus cube at a specified position within a
180-
specified channel is shown below:
179+
An example script to download a 3D cutout of a spectral channel range from the WALLABY Pre-Pilot Eridanus cube
180+
is shown below:
181181

182182
.. doctest-skip::
183183

@@ -189,8 +189,8 @@ specified channel is shown below:
189189
>>> result = Casda.query_region(centre, radius=30*u.arcmin)
190190
>>> public_data = Casda.filter_out_unreleased(result)
191191
>>> eridanus_cube = public_data[public_data['filename'] == 'Eridanus_full_image_V3.fits']
192-
>>> channel = channel(5, 10)
193-
>>> url_list = casda.cutout(eridanus_cube, coordinates=centre, channel)
192+
>>> channel = (5, 10)
193+
>>> url_list = casda.cutout(eridanus_cube, channel=channel)
194194
>>> filelist = casda.download_files(url_list, savedir='/tmp')
195195

196196

0 commit comments

Comments
 (0)