Ejemplo n.º 1
0
 def ChangeBand(self, band):
     # band is a string: "60", "40", "WWV", etc.
     self.anttuner.ChangeBand(band)
     self.lpfilter.ChangeBand(band)
     self.hpfilter.ChangeBand(band)
     self.v2filter.ChangeBand(band)
     ret = BaseHw.ChangeBand(self, band)
     self.CorrectSmeter()
     return ret
Ejemplo n.º 2
0
 def ChangeBand(self, band):
     # band is a string: "60", "40", "WWV", etc.
     self.anttuner.ChangeBand(band)
     self.lpfilter.ChangeBand(band)
     self.hpfilter.ChangeBand(band)
     if band == '40':
         self.correct_smeter = 20.5
     else:
         self.correct_smeter = 20.5
     return BaseHw.ChangeBand(self, band)