from rsfproj import * gamma = 5 N = 10**3 lsz = 12 sfgraph = ''' sfgraph label1="Vector entry" label2="Amplitude" unit1="" unit2="" title="" labelsz=%(lsz)g crowd2=.7 '''%vars() Flow('reg',None, 'sfspike n1=%(N)d n2=1 k1=1,201,401,601,801 nsp=5 | sfput d1=1 '%vars() ) Result('reg',sfgraph) Flow('box',None, 'sfspike n1=%(N)d n2=1 k1=2 l1=4 | sfput d1=1 '%vars() ) Flow('sinc','box myfft.py', ''' ./${SOURCES[1]} ''') Result('sinc',sfgraph) Flow('res','reg sinc', 'sfmath x=${SOURCES[1]} output="input*x" ') Result('res',sfgraph) End() |