Riccardo De Maria
Riccardo De Maria
Twiss or survey tables contain quantities relatives to specific positions that could be inside elements. It is desirable to use names that are unique and easily parsable. For instance: ```...
Review and document the sign conventions for XRotation, YRotation, SRotation. Ideally a positive angle should be anticlock wise about the corresponding axis to avoid confusion.
Proposals - `opt.enable(targets="ip",vary=[2,3]).disable(targets="phase",vary=["kqx.l1"]).step(...)` : permanent - `opt.step(.., enable_targets="ip",vary=[2,3], disable_targets="phase",vary=["kqx.l1"])` : temporary in the step Argument of enable/disable: - if is list/tuple list of arguments - elif integer arguments is id...
Notes https://codimd.web.cern.ch/DDIfPI0vR0CCexP_65wG5w?both https://codimd.web.cern.ch/8uaIaLk1Ri6q_hhnrXiwEg - [ ] formalize and read mad-x-like sequence - [ ] read error tables - [ ] define BeamLine class to describe element positions with implicit drifts,...
This example shows: ``` mb: sbend,l=1,angle=pi/2; mq: quadrupole,l=1,k1=0.0; ss: sequence, l=10; mq.1:mq, at=1,dx=0,dy=0.0,dpsi=0.0,dphi=0.3,dtheta=0.0; mb, at=2; mq.2:mq, at=3,dx=0.0,dy=0.0,dpsi=0.0,dphi=0.3,dtheta=0.0; endsequence; beam; use,sequence=ss; survey,file=survey.tfs,perm_align_survey=true; ``` ``` name l angle s x y z...
Fix an off bound error that show using openmp. @piotrskowronski could you verify?
Implement pt-exact transfer map for quadrupole and sextupoles. Dipole is work in progress.
``` kk:kicker,hkick=1,vkick=-1; k1:hkicker,kick=1; k2:vkicker,kick=-1; ss: line=(kk,k1,k2); beam; use,sequence=ss; twiss,betx=1,bety=1; sixtrack; ``` does not convert kickers: ``` SINGLE ELEMENTS--------------------------------------------------------- k1 1 1.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 k2 -1 -1.000000000000000e+00 0.000000000000000e+00...
Here is a docker file to reproduce the issue: ```dockerfile FROM fedora:latest RUN yum install -y git gfortran make g++ glibc-static libgfortran-static libstdc++-static RUN yum install -y gnuplot RUN git...