Changeset 1156 for trunk/python
- Timestamp:
- 08/21/06 15:49:24 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/linecatalog.py
r1154 r1156 65 65 raise ValueError("%s is not a valid unit." % unit) 66 66 # the table conatins values in MHz 67 lcbase.set_freq _limits(self, fmin*base[unit], fmax*base[unit])67 lcbase.set_frequency_limits(self, fmin*base[unit], fmax*base[unit]) 68 68 69 69 def set_strength_limits(self, smin, smax): … … 106 106 freq = lcbase.get_frequency(self, row) 107 107 name = lcbase.get_name(self, row) 108 return (freq, name)108 return { 'name':name, 'value': freq } 109 109 110 110 def __len__(self):
Note:
See TracChangeset
for help on using the changeset viewer.