c**d54 process first 1H-1H planes (real and imag in 15n) ; cl ; ; ; ; ; def input fidc ty ----------------------------------------- ty Building matrix... bld ec283_hnha 3 512 512 128 0 y mat ec283_hnha w ty Matrix opened and write-enabled... ty ; ; D1 processing ; ; esc out if &out ne 0 quit def phase0 -60.0 def phase1 0 for tier 1 32 eva itier (2*&tier) eva rtier (&itier-1) ty Processing tiers &rtier and &itier $ esc out ; if &out ne 0 scram for row 1 64 eva irow (2*&row) eva rrow (&irow-1) ; ; Process phase2=1, phase=1 re &input cnv 1 75 qss 512 90 1 bc .2 zf 1024 ft ph def datsiz 512 ;pol 4 ;abl 4 40 red sto 0 &rrow &rtier ; ;process phase2=1, phase=2 re &input cnv 1 75 qss 512 90 1 bc .2 zf 1024 ft ph def datsiz 512 ;pol 4 ;abl 4 40 red sto 0 &rrow &itier ; ; Process phase2=2, phase=1 re &input cnv 1 75 qss 512 90 1 bc .2 zf 1024 ft ph def datsiz 512 ;pol 4 ;abl 4 40 red sto 0 &irow &rtier ; ; Process phase2=2, phase=2 re &input cnv 1 75 qss 512 90 1 bc .2 zf 1024 ft ph def datsiz 512 ;pol 4 ;abl 4 40 red sto 0 &irow &itier nex nex tim r t3 ;end def phase0 0 def phase1 0 ; bun 2 for plane 1 64 for col 1 512 loa &col 0 &plane esc out if &out ne 0 quit def datype 1 def datsiz 64 qsb 64 90 1 bc .2 zf 512 gv 1 reel imagin eva reel (&reel*0.5) eva imagin (&imagin*0.5) pv 1 &reel &imagin ft ph red rev csr 127.94 sto &col 0 &plane ty col=&col plane=&plane$ nex nex ;end bun 0 bun 3 ty There are &vector vectors to process. tim z def phase0 0 def phase1 0 ; for row 1 512 ; for col 1 512 ; loa &row &col 0 for ivec 1 &vector lwb def datype 1 def datsiz 32 ;gv 1 reel imagin ;eva reel (&reel*0.5) ;eva imagin (&imagin*0.5) ;pv 1 &reel &imagin ; lpf 80 10 8 4 ; lpl 32 5 5 33 48 bc .2 zf 128 qsb 32 90 1 ft ;bas zero ph ;abq ;pol 4 rev red ;abl 4 40 swb ; sto &row &col 0 ty D3-vector=&ivec $ next ; nex ; nex tim r t2 bun 0 quit: end