+ elif self.type == self.SNRdB:
+ if self.source.snr_db is not None:
+ return "%3.02f dB" % (self.source.snr_db / 100.0)
+ elif self.source.snr is not None: #fallback to normal SNR...
+ percent = self.source.snr
+ return "SNR:%d %%" % (percent * 100 / 65536)