Open yangfg-bsrf opened 4 years ago
Hi. Do you intend to calculate SR from central part of bending magnet, or from its edge(s)? The magnetic field and initial conditions for electron trajectory have to be defined differently in these two cases. The general rule is that the electron trajectory should not cross observation plane within the ranges of observation position. If you want to calculate emission from central part of BM, change your observation range (e.g. center it around 0 horizontal position), or increase the size of the dipole magnet.
Thanks for your reply, I want to calculate it from its edge for the bending magnet radiation background to the insert device beamline. In order to have correct result, how do I define the magnetic field and initial conditions for electron trajectory? In addition, yes ,The remind message will disappear once I increase the size of the dipole to 3m.
Hi, I try to simulate emission and propagation of Bending Magnet SR which follows the example 13. the observation plane is 20m away. The results for 2keV and 10keV are shown below. It remind me "One can try to fix the problem by modifying Magnetic Field definition range and/or Integration limits.the computation." can you help me check if they are physically correct considering the edge zone around x= 35mm?
code.txt