mirror of
https://github.com/romanz/amodem.git
synced 2026-02-25 00:31:08 +08:00
common.loads() should return time only if asked to
This commit is contained in:
@@ -72,7 +72,7 @@ if __name__ == '__main__':
|
||||
df, = sys.argv[1:]
|
||||
df = float(df)
|
||||
|
||||
_, x = common.load(sys.stdin)
|
||||
x = common.load(sys.stdin)
|
||||
sampler = Sampler(x, Interpolator())
|
||||
sampler.freq += df
|
||||
y = np.array(list(sampler))
|
||||
|
||||
Reference in New Issue
Block a user