Changeset 1156 for trunk/python


Ignore:
Timestamp:
08/21/06 15:49:24 (18 years ago)
Author:
mar637
Message:

changed name set_freq_limits to set_frequency_limits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/linecatalog.py

    r1154 r1156  
    6565            raise ValueError("%s is not a valid unit." % unit)
    6666        # 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])
    6868
    6969    def set_strength_limits(self, smin, smax):
     
    106106        freq = lcbase.get_frequency(self, row)
    107107        name = lcbase.get_name(self, row)
    108         return (freq, name)
     108        return { 'name':name, 'value': freq }
    109109
    110110    def __len__(self):
Note: See TracChangeset for help on using the changeset viewer.