Versions of OCELOT in the "GENESIS4 developer branch" need improvement of plotting functions.
Two examples applying for simulations done in one4one mode. Here at the edges of the bunch there can be very small particle numbers (or even zero particles) in the slices.
In the case of zero particles in the slice, "GENESIS 1.3" v4 reports an avg electron energy of zero. This results in the vertical energy axis spanning the range from 0 to about 16.5GeV (in my case).
In case of just a few particles in the slice, the bunching factor can be close to 1, which makes the bunching axis go from 0 to 1.
The result of these two examples is that the actually interesting FEL physics (how do the energy spread, the bunching factor, etc. evolve) is sometimes almost not visible in the plots.
I am currently looking into this. My current idea is to implement a user-adjustable current cut-off, with slices having less than X amps being ignored for the plotting. Unless adjusted by the user, the default cut-off would be zero (= no cut-off).
Versions of OCELOT in the "GENESIS4 developer branch" need improvement of plotting functions.
Two examples applying for simulations done in one4one mode. Here at the edges of the bunch there can be very small particle numbers (or even zero particles) in the slices.
The result of these two examples is that the actually interesting FEL physics (how do the energy spread, the bunching factor, etc. evolve) is sometimes almost not visible in the plots.
I am currently looking into this. My current idea is to implement a user-adjustable current cut-off, with slices having less than X amps being ignored for the plotting. Unless adjusted by the user, the default cut-off would be zero (= no cut-off).