Commit 4b40e6db authored by Simone Liuzzo's avatar Simone Liuzzo

changed dipole fit locations

parent 9995dd74
......@@ -162,7 +162,9 @@ qemres.fractunes=periods*tunes-fix(periods*tunes);
% this first list is ok for dipoles, not ok for skew quadrupoles!
% qemres.dipidx=find(atgetcells(atmod.ring,'FamName','[DJ]L[12][AE]_[15]','DQ1[B]\w*','DQ2C\w*'))';%,'DQ1[BD]' atmod.get(0,'di');
qemres.dipidx=find(atgetcells(atmod.ring,'FamName','[DJ]L[12][ABDE]_[15]','ml\w*'))';%,'DQ1[BD]' atmod.get(0,'di');
dlind=find(atgetcells(atmod.ring,'FamName','[DJ]L[12][ABDE]_[15]\w*'))';%,'DQ1[BD]' atmod.get(0,'di');
mlind=find(atgetcells(atmod.ring,'FamName','ml\w*'))';%,'DQ1[BD]' atmod.get(0,'di');
qemres.dipidx=sort([dlind,mlind(1:2:end)]);%,'DQ1[BD]' atmod.get(0,'di');
bang=atmod.getfieldvalue(qemres.dipidx,'BendingAngle');
qemres.dipidx=qemres.dipidx(bang>0.00001);
%qemres.dipidx=qemres.dipidx(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment