4 sys
.path
.insert(0, os
.getcwd())
6 sys
.stdout
= open(sys
.argv
[1], "w")
8 import liba
# type: ignore
20 hpf
= liba
.hpf(10, 0.01)
21 for i
in range(len(x
)):
22 x1
= math
.cos(2 * math
.pi
* (f_0
* x
[i
] + 0.5 * c
* x
[i
] * x
[i
]))
23 print("%g,%g,%g" % (x
[i
], x1
, hpf(x1
)))