New vacuum chamber shapes were implemented in trackcpp, namely, rhombus and ellipse shapes (See PR https://github.com/lnls-fac/trackcpp/pull/50). Delta vacuum chambers are special cases of rhombus shapes and BC vacuum chamber, circular shape, is a special case of ellipse. Any positive integer number for vchamber can be used. This number correponds a the p-norm that define the shape of the chamber(1 - rhombus, 2 - ellipse, ... 0 - rectangle). This PR adapts pyaccel for these new shapes and for particle tracking losses simultaneously in the xy planes.
New vacuum chamber shapes were implemented in trackcpp, namely, rhombus and ellipse shapes (See PR https://github.com/lnls-fac/trackcpp/pull/50). Delta vacuum chambers are special cases of rhombus shapes and BC vacuum chamber, circular shape, is a special case of ellipse. Any positive integer number for vchamber can be used. This number correponds a the p-norm that define the shape of the chamber(1 - rhombus, 2 - ellipse, ... 0 - rectangle). This PR adapts pyaccel for these new shapes and for particle tracking losses simultaneously in the xy planes.
Example: