Changeset 1370 for trunk/python


Ignore:
Timestamp:
05/17/07 11:21:52 (18 years ago)
Author:
mar637
Message:

bug fix - left out a factor of ten in GHz definition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r1360 r1370  
    676676        self._math._setinsitu(insitu)
    677677        varlist = vars()
    678         base = { "GHz": 100000000., "MHz": 1000000., "kHz": 1000., "Hz": 1. }
     678        base = { "GHz": 1000000000., "MHz": 1000000., "kHz": 1000., "Hz": 1. }
    679679        if not base.has_key(unit):
    680680            raise ValueError("%s is not a valid unit." % unit)
Note: See TracChangeset for help on using the changeset viewer.