% generate dechirped images to convince roz there's chirping
% generate both ways (e.g. in coordinates of 10 as well as in
%
% gen_imagesd10  generate images dechirped into coordinates of 10
% this script generates in the coordinates of image 10

more off

for l=10:19  % frame counter frames 10 to 19, 10 is ref frame
  % does     A10=loadframe(10);
  % through  A19=loadframe(19);
  eval(sprintf('A%02d=loadframe(%02d);',l,l))
  % does     A10d10=pchirp2nocropw(P(11,:),A10);
  % through  A19d10=pchirp2nocropw(P(20,:),A19);
  eval(sprintf('A%02dd10=pchirp2nocropw(P(%02d,:),A%02d);',l,l+1,l))
  eval(sprintf('savepnm(''v%02dd10.pgm'',chnan255(A%02dd10))',l,l))
end%for

