- Timestamp:
- 05/17/07 11:21:52 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r1360 r1370 676 676 self._math._setinsitu(insitu) 677 677 varlist = vars() 678 base = { "GHz": 100000000 ., "MHz": 1000000., "kHz": 1000., "Hz": 1. }678 base = { "GHz": 1000000000., "MHz": 1000000., "kHz": 1000., "Hz": 1. } 679 679 if not base.has_key(unit): 680 680 raise ValueError("%s is not a valid unit." % unit)
Note:
See TracChangeset
for help on using the changeset viewer.