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
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,12 +85,15 @@ with a username and password. e.g.:
85
85
Data Access
86
86
===========
87
87
88
-
In order to access data in CASDA you must first stage the data using the :meth:`~astroquery.casda.CasdaClass.stage_data` method.
88
+
In order to access data in CASDA you must first stage the data using the :meth:`~astroquery.casda.CasdaClass.stage_data`
89
+
method.
89
90
This is because only some of the data in CASDA is held on disc at any particular time.
90
-
The :meth:`~astroquery.casda.CasdaClass.stage_data` method should be passed an astropy Table object containing an 'access_url' column.
91
+
The :meth:`~astroquery.casda.CasdaClass.stage_data` method should be passed an astropy Table object containing an
92
+
'access_url' column.
91
93
This column should contain the datalink address of the data product.
92
94
93
-
Once the data has been assembled you can then download the data using the :meth:`~astroquery.casda.CasdaClass.download_files` method, or using tools such as wget.
95
+
Once the data has been assembled you can then download the data using the :meth:`~astroquery.casda.CasdaClass.download_files`
96
+
method, or using tools such as wget.
94
97
Authentication is required when staging the data, but not for the download.
95
98
96
99
An example script to download public continuum images of the NGC 7232 region
@@ -117,15 +120,19 @@ Cutouts
117
120
118
121
As well as accessing full data products, the CASDA service can produce cutout images and cubes from larger data products.
119
122
The cutout support in AstroQuery allows both spatial and spectral cutouts.
120
-
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.
123
+
To produce a spatial cutout, pass in a coordinate and either a radius or a height and a width to the
To produce a spectral cutout, pass in either a band or a channel value.
122
-
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.
123
-
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.
126
+
For band, the value must be a list or tuple of two `astropy.units.Quantity` objects specifying a low and high frequency
127
+
or wavelength. For an open ended range use `None` as the open value.
128
+
For channel, the value must be a list or tuple of two integers specifying the low and high channels (i.e. planes of a
129
+
cube) inclusive.
124
130
Spatial and spectral parameters can be combined to produce sub-cubes.
125
131
126
132
Once completed, the cutouts can be downloaded as described in the section above.
127
133
128
-
An example script to download a cutout from the Rapid ASKAP Continuum Survey (RACS) at a specified position is shown below:
134
+
An example script to download a cutout from the Rapid ASKAP Continuum Survey (RACS) at a specified position is shown
0 commit comments