You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/casda/casda.rst
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,28 +142,32 @@ Cutouts
142
142
=======
143
143
144
144
As well as accessing full data products, the CASDA service can produce cutout images and cubes from larger data products.
145
-
The cutout support in AstroQuery allows both spatial an spectral cutouts.
145
+
The cutout support in AstroQuery allows both spatial and spectral cutouts.
146
146
To produce a spatial cutout, pass in a coordinate and either a radius or a height and a width to the :meth:`~astroquery.casda.CasdaClass.cutout` method.
147
147
To produce a spectral cutout, pass in either a band or a channel value.
148
148
For band, the value must be a list or tuple of two `astropy.units.Quantity` objects specifying a low and high frequency or wavelength. For an open ended range use `None` as the open value.
149
149
For channel, the value must be a list or tuple of two integers specifying the low and high channels (i.e. planes of a cube) inclusive.
150
+
Spatial and spectral parameters can be combined to produce sub-cubes.
150
151
151
152
Once completed, the cutouts can be downloaded as described in the section above.
152
153
153
-
An example script to download a cutout from public spectral line cubes of the NGC 5044 region taken in scheduling block 25750 is shown below:
154
+
An example script to download a cutout from the Rapid ASKAP Continuum Survey (RACS) at a specified position is shown below:
154
155
.. code-block:: python
155
156
156
157
>>>from astropy import coordinates, units as u, wcs
157
158
>>>from astroquery.casda import Casda
158
159
>>>import getpass
159
-
>>> centre = coordinates.SkyCoord.from_name('NGC 5044')
160
+
>>> centre = coordinates.SkyCoord.from_name('2MASX J08161181-7039447')
0 commit comments