# Khoros Visual Programming Workspace
#
# cantata workspace file (/proj/cik/faculty/lotufo/local/dipcourse-1.0/html-dip/c5/s4/dft-simple-images.wk-2.1-animate) was created 
# on Wed Mar 12 12:17:36 1997
# by user lotufo
#

WorkspaceBegin: 2.1

VariablesBegin:


#
# list of currently declared variables
#

I = 0
i = ((0+1)+1)
N = 1

VariablesEnd:

#  Glyph 'Animate'
Glyph:ENVISION:animate::localhost:1:782:342:: -priv 0 -alloc 1 -x '-1' -y '-1' -update '1' 

#  Glyph 'Constant'
Glyph:DATAMANIP:kgconst::localhost:3:382:222:: -wsize '128+1+128' -hsize '128' -real '0' -imag '0' -type 3 

#  Glyph 'Constant'
Glyph:DATAMANIP:kgconst::localhost:5:45:125:: -wsize '128+1+128' -hsize '128' -real '0' -imag '0' -type 3 

#  Loop 'Rectangle Loop'
LoopBegin:Rectangle Loop:count:19:7:145:125: -lcv 'w' -init '0' -test '7' -incr '1' 

VariablesBegin:


#
# list of currently declared variables
#

w = ((((((((0+1)+1)+1)+1)+1)+1)+1)+1)
W = 128

VariablesEnd:

#  Glyph 'Inset'
Glyph:DATAMANIP:kinset::localhost:1:403:43:: -insetvalid 1 -real '255' -imag '0' -padvalid 1 -mapping 0 -attr -woff '129' 

#  Glyph 'Print Value'
Glyph:DATAMANIP:kprval::localhost:3:23:43:: -mapdata 0 -woff '0' -hoff 'w' -doff '0' -toff '0' -eoff '0' -var 'W' -val  -i ./rec-input.ascii

#  Glyph 'Normalize'
Glyph:DATAMANIP:knormal::localhost:5:343:103:: -lval '0' -uval '255' -type 3 -w -h 

#  Glyph 'Magnitudes'
Glyph:DATAMANIP:kmag::localhost:7:263:103:: -logmag1 

#  Glyph 'FFT'
Glyph:DATAMANIP:kfft::localhost:9:183:103:: -dir 0 -center 1 -scale 1 -type 12 -w -h 

#  Glyph 'Normalize'
Glyph:DATAMANIP:knormal::localhost:11:263:43:: -lval '0' -uval '255' -type 3 -w -h 

#  Glyph 'Inset'
Glyph:DATAMANIP:kinset::localhost:13:483:43:: -insetvalid 1 -real '0' -imag '0' -padvalid 1 -mapping 0 -attr -eoff 'w'  -i1 ./rec-seq.kdf -o ./rec-seq.kdf

#  ExtPort 'External Output (o)'
ExtPort:out:External Output (o):o:15:588:48:

#  Glyph 'Constant'
Glyph:DATAMANIP:kgconst::localhost:17:105:45:: -wsize 'W' -hsize '8' -real '1' -imag '0' -type 10 

#  Glyph 'Pad'
Glyph:DATAMANIP:kpad::localhost:19:185:45:: -wsize '128' -hsize '128' -woff '(128-W)/2' -hoff '(128-8)/2' -doff '0' -toff '0' -eoff '0' -real '0' -imag '0' -valid 1 


#  Connections 'Inset'
NodeConnection:data:1:o:13:i2

#  Connections 'Print Value'
NodeConnection:control:3:out:17:in

#  Connections 'Normalize'
NodeConnection:data:5:o:1:i2

#  Connections 'Magnitudes'
NodeConnection:data:7:om:5:i

#  Connections 'FFT'
NodeConnection:data:9:o:7:i

#  Connections 'Normalize'
NodeConnection:data:11:o:1:i1

#  Connections 'Inset'
NodeConnection:data:13:o:15:

#  Connections 'External Output (o)'

#  Connections 'Constant'
NodeConnection:data:17:o:19:i

#  Connections 'Pad'
NodeConnection:data:19:o:11:i
NodeConnection:data:19:o:9:i

AnnotationsBegin
AnnotationsEnd

LoopEnd:Rectangle Loop

#  Glyph 'Animate'
Glyph:ENVISION:animate::localhost:9:265:125:: -priv 0 -alloc 1 -x '-1' -y '-1' -update '1' 

#  Glyph 'Animate'
Glyph:ENVISION:animate::localhost:11:265:225:: -priv 0 -alloc 1 -x '-1' -y '-1' -update '1' 

#  Loop 'Gaussian Loop'
LoopBegin:Gaussian Loop:count:31:13:145:225: -lcv 's' -init '0' -test '7' -incr '1' 

VariablesBegin:


#
# list of currently declared variables
#

W = 128
w = ((((((((0+1)+1)+1)+1)+1)+1)+1)+1)
s = ((((((((0+1)+1)+1)+1)+1)+1)+1)+1)
S = 128

VariablesEnd:

#  Glyph 'Inset'
Glyph:DATAMANIP:kinset::localhost:1:403:43:: -insetvalid 1 -real '255' -imag '0' -padvalid 1 -mapping 0 -attr -woff '129' 

#  Glyph 'Print Value'
Glyph:DATAMANIP:kprval::localhost:3:23:43:: -mapdata 0 -woff '0' -hoff 's' -doff '0' -toff '0' -eoff '0' -var 'S' -val  -i ./gauss-input.ascii

#  Glyph 'Normalize'
Glyph:DATAMANIP:knormal::localhost:5:343:103:: -lval '0' -uval '255' -type 3 -w -h 

#  Glyph 'Magnitudes'
Glyph:DATAMANIP:kmag::localhost:7:263:103:: -logmag1 

#  Glyph 'FFT'
Glyph:DATAMANIP:kfft::localhost:9:183:103:: -dir 0 -center 1 -scale 1 -type 12 -w -h 

#  Glyph 'Normalize'
Glyph:DATAMANIP:knormal::localhost:11:263:43:: -lval '0' -uval '255' -type 3 -w -h 

#  Glyph 'Inset'
Glyph:DATAMANIP:kinset::localhost:13:483:43:: -insetvalid 1 -real '0' -imag '0' -padvalid 1 -mapping 0 -attr -eoff 's'  -i1 ./gauss-seq.kdf -o ./gauss-seq.kdf

#  ExtPort 'External Output (o)'
ExtPort:out:External Output (o):o:15:588:48:

#  Glyph '2D Gaussian'
Glyph:IMAGE:igauss_func::localhost:17:125:45:: -wsize '128' -hsize '128' -type 10 -wpeak '64' -hpeak '64' -wvar 'S*S' -hvar '4*4' -coeff '0.0' -peakval '1.0' 


#  Connections 'Inset'
NodeConnection:data:1:o:13:i2

#  Connections 'Print Value'
NodeConnection:control:3:out:17:in

#  Connections 'Normalize'
NodeConnection:data:5:o:1:i2

#  Connections 'Magnitudes'
NodeConnection:data:7:om:5:i

#  Connections 'FFT'
NodeConnection:data:9:o:7:i

#  Connections 'Normalize'
NodeConnection:data:11:o:1:i1

#  Connections 'Inset'
NodeConnection:data:13:o:15:

#  Connections 'External Output (o)'

#  Connections '2D Gaussian'
NodeConnection:data:17:o:11:i
NodeConnection:data:17:o:9:i

AnnotationsBegin
AnnotationsEnd

LoopEnd:Gaussian Loop

#  Glyph 'Constant'
Glyph:DATAMANIP:kgconst::localhost:15:45:225:: -wsize '128+1+128' -hsize '128' -real '0' -imag '0' -type 3 

#  Glyph 'Constant'
Glyph:DATAMANIP:kgconst::localhost:17:45:325:: -wsize '128+1+128' -hsize '128' -real '0' -imag '0' -type 3 

#  Loop 'Impulse Loop'
LoopBegin:Impulse Loop:count:43:19:145:325: -lcv 'p' -init '0' -test '7' -incr '1' 

VariablesBegin:


#
# list of currently declared variables
#

S = 128
s = ((((((((0+1)+1)+1)+1)+1)+1)+1)+1)
w = ((((((((0+1)+1)+1)+1)+1)+1)+1)+1)
W = 128
p = ((((((((0+1)+1)+1)+1)+1)+1)+1)+1)
P = 128

VariablesEnd:

#  Glyph 'Inset'
Glyph:DATAMANIP:kinset::localhost:1:403:43:: -insetvalid 1 -real '255' -imag '0' -padvalid 1 -mapping 0 -attr -woff '129' 

#  Glyph 'Print Value'
Glyph:DATAMANIP:kprval::localhost:3:23:43:: -mapdata 0 -woff '0' -hoff 'p' -doff '0' -toff '0' -eoff '0' -var 'P' -val  -i ./impulse-input.ascii

#  Glyph 'Normalize'
Glyph:DATAMANIP:knormal::localhost:5:343:103:: -lval '0' -uval '255' -type 3 -w -h 

#  Glyph 'Magnitudes'
Glyph:DATAMANIP:kmag::localhost:7:263:103:: -logmag1 

#  Glyph 'FFT'
Glyph:DATAMANIP:kfft::localhost:9:183:103:: -dir 0 -center 1 -scale 1 -type 12 -w -h 

#  Glyph 'Normalize'
Glyph:DATAMANIP:knormal::localhost:11:263:43:: -lval '0' -uval '255' -type 3 -w -h 

#  Glyph 'Inset'
Glyph:DATAMANIP:kinset::localhost:13:483:43:: -insetvalid 1 -real '0' -imag '0' -padvalid 1 -mapping 0 -attr -eoff 'p'  -i1 ./impulse-seq.kdf -o ./impulse-seq.kdf

#  ExtPort 'External Output (o)'
ExtPort:out:External Output (o):o:15:588:48:

#  Glyph 'Impulse'
Glyph:DATAMANIP:kimpulse::localhost:17:125:45:: -wsize '128' -wnum '128/P' -hsize '128' -hnum '128/8' -dsize '1' -dnum '1' -tsize '1' -tnum '1' -esize '1' -enum '1' -wsp 'P' -woff '0' -hsp '8' -hoff '0' -dsp '1' -doff '0' -tsp '1' -toff '0' -esp '1' -eoff '0' -fgreal '1' -bgreal '0.0' -fgimag '0.0' -bgimag '0.0' -type 10 


#  Connections 'Inset'
NodeConnection:data:1:o:13:i2

#  Connections 'Print Value'
NodeConnection:control:3:out:17:in

#  Connections 'Normalize'
NodeConnection:data:5:o:1:i2

#  Connections 'Magnitudes'
NodeConnection:data:7:om:5:i

#  Connections 'FFT'
NodeConnection:data:9:o:7:i

#  Connections 'Normalize'
NodeConnection:data:11:o:1:i1

#  Connections 'Inset'
NodeConnection:data:13:o:15:

#  Connections 'External Output (o)'

#  Connections 'Impulse'
NodeConnection:data:17:o:11:i
NodeConnection:data:17:o:9:i

AnnotationsBegin
AnnotationsEnd

LoopEnd:Impulse Loop

#  Glyph 'Animate'
Glyph:ENVISION:animate::localhost:21:265:325:: -priv 0 -alloc 1 -x '-1' -y '-1' -update '1' 

#  Glyph 'Inset'
Glyph:DATAMANIP:kinset::localhost:29:662:242:: -insetvalid 1 -real '0' -imag '0' -padvalid 1 -mapping 0 -attr -eoff '0'  -o ./sine-seq.kdf

#  Glyph 'Normalize'
Glyph:DATAMANIP:knormal::localhost:31:582:22:: -lval '0' -uval '255' -type 3 -w -h 

#  Glyph 'Sinusoid'
Glyph:DATAMANIP:kgsin::localhost:33:422:22:: -wsize '128' -hsize '128' -dsize '1' -tsize '1' -esize '1' -wnum 'N' -wp '0.0' -hnum '1.0' -hp '0.0' -dnum '1.0' -dp '0.0' -tnum '1.0' -tp '0.0' -enum '1.0' -ep '0.0' -type 10 -sin1 -ampl '1.0' 

#  Glyph 'FFT'
Glyph:DATAMANIP:kfft::localhost:35:502:82:: -dir 0 -center 1 -scale 1 -type 12 -w -h 

#  Glyph 'Magnitudes'
Glyph:DATAMANIP:kmag::localhost:37:582:82:: -logmag1 

#  Glyph 'Normalize'
Glyph:DATAMANIP:knormal::localhost:39:662:82:: -lval '0' -uval '255' -type 3 -w -h 

#  Glyph 'Print Value'
Glyph:DATAMANIP:kprval::localhost:41:422:102:: -mapdata 0 -woff '0' -hoff '0' -doff '0' -toff '0' -eoff '0' -var 'N' -val 

#  Glyph 'Inset'
Glyph:DATAMANIP:kinset::localhost:43:722:22:: -insetvalid 1 -real '255' -imag '0' -padvalid 1 -mapping 0 -attr -woff '129' 

#  Glyph 'User defined'
Glyph:DESIGN:user_def::localhost:53:283:23::  -o $DIP/html-dip/c5/s4/sine-input.ascii

#  Conditional 'Expression'
Conditional:CONDITIONAL:expr::localhost:55:343:103:: -expression 'I=0\n' 

#  Conditional 'Merge Paths'
Conditional:CONDITIONAL:merge::localhost:59:522:222:: 

#  Conditional 'If Else'
Conditional:CONDITIONAL:if_else::localhost:63:563:343:: -condition 'I<7' 


#  Connections 'Animate'

#  Connections 'Constant'
NodeConnection:data:3:o:59:i1

#  Connections 'Constant'
NodeConnection:control:5:out:7:in

#  Connections 'Rectangle Loop'
NodeConnection:data:7:o:9:i

#  Connections 'Animate'

#  Connections 'Animate'

#  Connections 'Gaussian Loop'
NodeConnection:data:13:o:11:i

#  Connections 'Constant'
NodeConnection:control:15:out:13:in

#  Connections 'Constant'
NodeConnection:control:17:out:19:in

#  Connections 'Impulse Loop'
NodeConnection:data:19:o:21:i

#  Connections 'Animate'

#  Connections 'Inset'
NodeConnection:data:29:o:63:i

#  Connections 'Normalize'
NodeConnection:data:31:o:43:i1

#  Connections 'Sinusoid'
NodeConnection:data:33:o:31:i
NodeConnection:data:33:o:35:i

#  Connections 'FFT'
NodeConnection:data:35:o:37:i

#  Connections 'Magnitudes'
NodeConnection:data:37:om:39:i

#  Connections 'Normalize'
NodeConnection:data:39:o:43:i2

#  Connections 'Print Value'
NodeConnection:control:41:out:33:in

#  Connections 'Inset'
NodeConnection:data:43:o:29:i2

#  Connections 'User defined'
NodeConnection:data:53:o:55:i

#  Connections 'Expression'
NodeConnection:data:55:o:41:i

#  Connections 'Merge Paths'
NodeConnection:data:59:o:29:i1

#  Connections 'If Else'
NodeConnection:data:63:o1:1:i
NodeConnection:data:63:o2:59:i2

AnnotationsBegin
AnnotationsEnd

WorkspaceEnd: 2.1
