Changeset 346 for trunk/python
- Timestamp:
- 02/01/05 17:21:28 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r345 r346 33 33 sdtable.__init__(self, filename) 34 34 if unit is not None: 35 s dtable.set_fluxunit(unit)35 self.set_fluxunit(unit) 36 36 else: 37 37 try: … … 55 55 ifSel = -1 56 56 beamSel = -1 57 if unit is None:58 unit = ""59 57 r = sdreader(filename,ifSel,beamSel) 60 58 print 'Importing data...' 61 59 r.read([-1]) 62 60 tbl = r.getdata() 61 if unit is not None: 62 tbl.set_fluxunit(unit) 63 63 if autoav: 64 64 from asap._asap import average
Note:
See TracChangeset
for help on using the changeset viewer.