Using BMXYZ for tracking through a periodic quadrupole
Posted: 13 Mar 2024, 09:47
Dear Michael,
I have a periodic quadrupole magnet and I am tracking the 400 MeV electron beam through the 3D magnetic field map using Astra, BMAD, and ELEGANT.
- In ELEGANT, BMXYZ and Ftable commands provide consistent results, but the intermediate Twiss parameters within the magnet are missed. As I am also interested in the Twiss parameters inside the magnet, I tried to divide the field map into 10 sub-field maps but it seems that does not work well. Is there any way to ask the code for calculating the Twiss parameters inside the magnet?
- Unfortunately, there's a discrepancy between the results obtained from Astra/BMAD and those from ELEGANT, leaving me uncertain about which set of results to trust or report. Could you please have a look at the files I uploaded to see if they are written accurately or if there could be a modification?
Thanks for your time in advance,
Best regards,
Samira Fatehi.
I have a periodic quadrupole magnet and I am tracking the 400 MeV electron beam through the 3D magnetic field map using Astra, BMAD, and ELEGANT.
- In ELEGANT, BMXYZ and Ftable commands provide consistent results, but the intermediate Twiss parameters within the magnet are missed. As I am also interested in the Twiss parameters inside the magnet, I tried to divide the field map into 10 sub-field maps but it seems that does not work well. Is there any way to ask the code for calculating the Twiss parameters inside the magnet?
- Unfortunately, there's a discrepancy between the results obtained from Astra/BMAD and those from ELEGANT, leaving me uncertain about which set of results to trust or report. Could you please have a look at the files I uploaded to see if they are written accurately or if there could be a modification?
Thanks for your time in advance,
Best regards,
Samira Fatehi.