Changeset 194
- Timestamp:
- 01/14/05 11:07:22 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r189 r194 55 55 name: the name of the outputfile 56 56 format: an optional file format. Default is ASAP. 57 Allowed are 'ASAP', 'SDFITS' and 'MS2' 57 Allowed are - 'ASAP' (save as ASAP Table), 58 'SDFITS' (save as SDFITS file) 59 'FITS' (saves each row as a FITS Image) 60 'MS2' (saves as an aips++ MeasurementSet V2) 58 61 Example: 59 62 scan.save('myscan.asap') … … 64 67 else: 65 68 from asap._asap import sdwriter as _sw 66 w = _sw() 67 if format == 'SDFITS': 68 w.write(self, name) 69 w = _sw(format) 70 w.write(self, name) 69 71 return 70 72
Note:
See TracChangeset
for help on using the changeset viewer.