kopia lustrzana https://github.com/dnet/pySSTV
use integer division to avoid float amplitude
rodzic
6d7c423b28
commit
808a47fa6d
|
@ -54,7 +54,7 @@ class SSTV(object):
|
|||
"""
|
||||
max_value = 2 ** self.bits
|
||||
alias = 1 / max_value
|
||||
amp = max_value / 2
|
||||
amp = max_value // 2
|
||||
lowest = -amp
|
||||
highest = amp - 1
|
||||
chans = range(self.nchannels)
|
||||
|
|
Ładowanie…
Reference in New Issue