New ScreenPanel

This commit is contained in:
2018-01-19 10:56:53 +01:00
commit ae4d621609
580 changed files with 46598 additions and 0 deletions

27
script/jepscript4.py Executable file
View File

@@ -0,0 +1,27 @@
#from jeputils import *
eval_jep("import jepscript3")
eval_jep("reload(jepscript3)")
N = 600 # Number of sample points
T = 1.0 / 800.0 # sample spacing
F = [(1.0,50.0), (0.5,80.0)] #Sinuoisids
(x,y) = call_jep("jepscript3", "get_f", [N,T,F])
ret = call_jep("jepscript3", "get_fft2", [y,])
print "---"
print ret
print "---"
"""
ret = call_jep("jepscript3", "get_fft", [x,y,T])
print ret
(xf,yf,yfp) = ret
plot(y, xdata = x)
plot(yfp, xdata = xf)
"""