- Timestamp:
- 02/15/05 20:06:41 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r445 r451 71 71 sdtable.__init__(self,tbl) 72 72 73 def save(self, name=None, format=None, stokes= True, overwrite=False):73 def save(self, name=None, format=None, stokes=False, overwrite=False): 74 74 """ 75 75 Store the scantable on disk. This can be an asap (aips++) Table, SDFITS, … … 88 88 stokes: Convert to Stokes parameters (only available 89 89 currently with FITS and ASCII formats. 90 Default is False. 90 91 overwrite: If the file should be overwritten if it exists. 91 92 The default False is to return with warning … … 106 107 print "File %s already exists." % name 107 108 return 108 if format == 'ASAP': 109 format2 = format.upper() 110 if format2 == 'ASAP': 109 111 self._save(name) 110 112 else: 111 113 from asap._asap import sdwriter as _sw 112 w = _sw(format )114 w = _sw(format2) 113 115 w.write(self, name, stokes) 114 116 return
Note:
See TracChangeset
for help on using the changeset viewer.