mirror of
https://github.com/romanz/amodem.git
synced 2026-04-21 05:36:42 +08:00
remove unused code
This commit is contained in:
@@ -139,10 +139,6 @@ class MODEM(object):
|
|||||||
self.modem_bps = self.baud * self.bits_per_baud
|
self.modem_bps = self.baud * self.bits_per_baud
|
||||||
|
|
||||||
|
|
||||||
def clip(x, lims):
|
|
||||||
return min(max(x, lims[0]), lims[1])
|
|
||||||
|
|
||||||
|
|
||||||
def power(x):
|
def power(x):
|
||||||
return np.dot(x.conj(), x).real / len(x)
|
return np.dot(x.conj(), x).real / len(x)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user