|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
sd.scantable.save - Function
5.1.2 Store the scantable on disk
Description
Store the scantable on disk. This can be an asap (CASA Table), SDFITS or
MS2 format.
The output filename can be specified as name. For format ’ASCII’, this is the root file name (data in ’name’.txt and header in ’name’_header.txt). If no name is given, the default name will be used. The format is optinal file format. Default is ’ASAP’. Allows are:
- ’ASAP’ (save as ASAP [CASA Table])
- ’SDFITS’ (save as SDFITS file)
- ’ASCII’ (saves as ascii text file)
- ’MS2’ (saves as an casacore MeasurementSet V2)
- ’FITS’ (save as image FITS - not readable by class)
- ’CLASS’ (save as FITS readable by CLASS)
If overwrite argument is True, the file should be overwritten if it exists. The default False is to return with warning without writing the output. USE WITH CARE.
Arguments
Inputs |
| ||
name |
| The name of the output file
| |
| allowed: | string |
|
| Default: | None | |
format |
| An optional file format
| |
| allowed: | string |
|
| Default: | None |
|
overwrite |
| Overwrite existing file
| |
| allowed: | bool |
|
| Default: | False |
|
Example
scan.save(’myscan.asap’)
scan.save(’myscan.sdfits’, ’SDFITS’)
More information about CASA may be found at the
CASA web page
Copyright © 2016 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search