Open
Description
Hi,
I am using the output trajectories of the FBPIC code to calculate the radiation by the CLARA2 code, but the output spectrum has many NaN values. At first, I thought that this NaN appeared was due to the poor output accuracy of the particle trajectories in FBPIC code, So I Interpolate the particle trajectories to increase the accuracy (dt, dz, et al). But when I used the Interpolated particle trajectories to calculate the radiation spectrum, the NaN still appeared.
So, does anyone know how this mistake came about? And how to solve this issue? Thank you very much!