repo.or.cz
/
oscopy.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FIXED: detect if ipython executable is present
[oscopy.git]
/
test
/
fft.oscopy
blob
ed36a44a0cef3aa6f02c41b60528ee0ac6a3aa69
1
# Load files
2
oexec test/basic.oscopy
3
v2=sin(vgs.ref*2*3.1416*1e6)
4
oimport v2
5
ocreate v2
6
oread demo/tran.dat
7
ocreate vsqu
8
#echo *** Now doing new way...
9
vsqufft = fft(vsqu)
10
oimport vsqufft
11
oadd vsqufft
12
orange 0 15 -.010 .100
13
#echo *** Diff
14
#vdiff = diff(vsqu)
15
#add vdiff
16
#echo *** Just check everything is fine...
17
#v1=vsqu*10+15
18
#v1v1=v1+vsqu/10
19
#vsquvsqu=v1v1+v1-vsqu
20
#add v1
21
#siglist
22
#plot