Different error value for QUAD/BEND in static magnetic field map

https://www.dacm-logiciels.fr/tracewin
Post Reply
Chinashliu
Skilled
Skilled
Posts: 102
Joined: Fri 5 Feb 2021 04:36
Country:
China (cn)
China

Different error value for QUAD/BEND in static magnetic field map

Post by Chinashliu »

Dear Didier,

ERROR_QUAD_xxxx_xxxx includes "Field map if defined as static magnetic field" in the manual.

I defined quadrupoles and dipoles in 3D field map(geom for FIELD_MAP is 0070, i.e. static magnetic field), then how to define different error values for QUADs and BENDs? E.g. φz for QUADs is 1 mrad, φz for BENDs is 0.1 mrad.

Regards,
shliu
User avatar
FranceDidier
Administrator
Administrator
Posts: 1187
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Different error value for QUAD/BEND in static magnetic field map

Post by FranceDidier »

Dear Shliu,

Yes, in this case, the ERRROR_QUAD command will indeed be common to both the quadrupole and dipole.
However, you can specify as many ERRROR_QUAD commands as you want in your file (*.dat), with each command redefining the errors for the following elements.

Regards,

Didier
Post Reply