Loading dev/unwr3.m +3 −15 Original line number Diff line number Diff line Loading @@ -32,20 +32,8 @@ function unwr3(fconf) else run('conf.m'); end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% load phase.dat % keyboard; psi=e2; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% o=zeros(mp,mp); o(blk)=1; for i=1:mp m0=mean(psi(:,i)); o(:,i)=o(:,i)*m0; end psi(blk)=0; psi=psi+o; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% I=eye(mp); % Loading @@ -55,7 +43,7 @@ function unwr3(fconf) A=B=L'*L; [U,S,V]=svd(B); s=diag(S); C=-(round(psi/(2.0*pi)*L')*L+L'*round(L*psi/(2.0*pi))); C=-(round(e2/(2.0*pi)*L')*L+L'*round(L*e2/(2.0*pi))); D=C*U; K=zeros(mp,mp); for i=1:mp Loading @@ -64,7 +52,7 @@ function unwr3(fconf) end % K=round(K*U'); u0=psi+2.0*pi*K; u0=e2+2.0*pi*K; u0(blk)=0; % figure(1); Loading manual/hop-user-guide.pdf +714 B (1.27 MiB) File changed.No diff preview for this file type. View original file View changed file Loading
dev/unwr3.m +3 −15 Original line number Diff line number Diff line Loading @@ -32,20 +32,8 @@ function unwr3(fconf) else run('conf.m'); end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% load phase.dat % keyboard; psi=e2; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% o=zeros(mp,mp); o(blk)=1; for i=1:mp m0=mean(psi(:,i)); o(:,i)=o(:,i)*m0; end psi(blk)=0; psi=psi+o; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% I=eye(mp); % Loading @@ -55,7 +43,7 @@ function unwr3(fconf) A=B=L'*L; [U,S,V]=svd(B); s=diag(S); C=-(round(psi/(2.0*pi)*L')*L+L'*round(L*psi/(2.0*pi))); C=-(round(e2/(2.0*pi)*L')*L+L'*round(L*e2/(2.0*pi))); D=C*U; K=zeros(mp,mp); for i=1:mp Loading @@ -64,7 +52,7 @@ function unwr3(fconf) end % K=round(K*U'); u0=psi+2.0*pi*K; u0=e2+2.0*pi*K; u0(blk)=0; % figure(1); Loading
manual/hop-user-guide.pdf +714 B (1.27 MiB) File changed.No diff preview for this file type. View original file View changed file