a='clutterfastwalk.txt' %  i'm walking fast
b='test3standrun.txt' % walking while attacker runs up behind me
c='test4walkrun3persons.txt' % 3 persons running up behind me and passing
d='test1attack.txt' % pickpocket
e='standstillwithbike.txt' % i'm standing still, bike coming up behind passing
f='fastwalkbike.txt' %  i'm walking fast, bike comes up behind me and passes
g='constvel_accel3people.txt' % i'm const velocity, 3 people accelerating behind
h='walkcar.txt' % i'm walking (const velocity), car accelerating behind me

disp(sprintf('about to load data'))
eval(sprintf('load %s',a));
eval(sprintf('load %s',b));
eval(sprintf('load %s',c));
eval(sprintf('load %s',d));
eval(sprintf('load %s',e));
eval(sprintf('load %s',f));
eval(sprintf('load %s',g));
eval(sprintf('load %s',h));
disp(sprintf('loaded data'))
a0=a(1:length(a)-4);
a1=b(1:length(b)-4);
a2=c(1:length(c)-4);
a3=d(1:length(d)-4);
a4=e(1:length(e)-4);
a5=f(1:length(f)-4);
a6=g(1:length(g)-4);
a7=h(1:length(h)-4);
eval(sprintf('z0 = complexify(%s);',a0))
eval(sprintf('z1 = complexify(%s);',a1))
eval(sprintf('z2 = complexify(%s);',a2))
eval(sprintf('z3 = complexify(%s);',a3))
eval(sprintf('z4 = complexify(%s);',a4))
eval(sprintf('z5 = complexify(%s);',a5))
eval(sprintf('z6 = complexify(%s);',a6))
eval(sprintf('z7 = complexify(%s);',a7))
disp(sprintf('complexified data'))

z0cal=calibrateradar(z0); % in case we don't have a clutter only sequence for
z1cal=calibrateradar(z1); %
z2cal=calibrateradar(z2); %
z3cal=calibrateradar(z3); %
z4cal=calibrateradar(z4); %
z5cal=calibrateradar(z5); %
z6cal=calibrateradar(z6); %
z7cal=calibrateradar(z7); %

subplot(241)
%ZZ0=tfmann(z0cal,500,500,1); tvfortf(ZZ0)
tfdisph(z0cal);
title('just walking')

subplot(242)
%ZZ1=tfmann(z1cal,500,500,1); tvfortf(ZZ1)
tfdisph(z1cal);
title('attacker')

subplot(243)
%ZZ2=tfmann(z2cal,500,500,1); tvfortf(ZZ2)
tfdisph(z2cal);
title('attackers')

subplot(244)
%ZZ3=tfmann(z3cal,500,500,1); tvfortf(ZZ3)
tfdisph(z3cal);
title('pickpocket')

subplot(245)
%ZZ4=tfmann(z4cal,500,500,1); tvfortf(ZZ4)
tfdisph(z4cal);
title('standing,bike')

subplot(246)
%ZZ5=tfmann(z5cal,500,500,1); tvfortf(ZZ5)
tfdisph(z5cal);
title('bike')

subplot(247)
%ZZ6=tfmann(z6cal,500,500,1); tvfortf(ZZ6)
tfdisph(z6cal);
title('attackers')

subplot(248)
%ZZ7=tfmann(z7cal,500,500,1); tvfortf(ZZ7)
tfdisph(z7cal);
title('car')

