n_bins in WAKE element
Posted: 22 Jul 2020, 16:24
Hi,
I am working on the simulation of a beam passing through waveguides, where the effect of wakefield is modeled using WAKE element.
My distribution is generated from a well-order grid, where I carefully put required number of particles in each bin to avoid unwanted noises, as shown below Depending on the number of bins, the histogram can be drastically different than its true histogram, as shown below Since it is recommended to set n_bins=0 for WAKE element, is there a way that I can check the exact number of bins used in ELEGANT during the simulation ?
I would like to check if ELEGANT uses improper number of bins during the simulation.
Thanks.
I am working on the simulation of a beam passing through waveguides, where the effect of wakefield is modeled using WAKE element.
My distribution is generated from a well-order grid, where I carefully put required number of particles in each bin to avoid unwanted noises, as shown below Depending on the number of bins, the histogram can be drastically different than its true histogram, as shown below Since it is recommended to set n_bins=0 for WAKE element, is there a way that I can check the exact number of bins used in ELEGANT during the simulation ?
I would like to check if ELEGANT uses improper number of bins during the simulation.
Thanks.