You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by HaoPengYY December 30, 2024
Dear Developers and Users,
Hi, I was trying to dump the trajectories of a bunch of test electrons in a 3D laser-plasma interaction simulation and use the information including the particles weights for post-processing. But when I used h5py to open the trajectory file and get out the data, I found that the unit of the weight is different from what I calculated, while other data including the positions and fields agreed well with my calculation. It seems there is something wrong with the out weight unit in SMILEI.
Attached is the input file of the simulation I run. The normalized weight of 'teon' output from Happi is about 0.1211, which agrees well wight the calculation, but the unit stored in the hdf5 trajectory file, i.e. the attributes 'unitSI' of the weight dataset is wrong ,which is about the 25 orders of magnitude above the value I calculate according to the formula below: Uploading input.py.zip…
The text was updated successfully, but these errors were encountered:
Discussed in #783
Originally posted by HaoPengYY December 30, 2024
Dear Developers and Users,
Hi, I was trying to dump the trajectories of a bunch of test electrons in a 3D laser-plasma interaction simulation and use the information including the particles weights for post-processing. But when I used h5py to open the trajectory file and get out the data, I found that the unit of the weight is different from what I calculated, while other data including the positions and fields agreed well with my calculation. It seems there is something wrong with the out weight unit in SMILEI.
Attached is the input file of the simulation I run. The normalized weight of 'teon' output from Happi is about 0.1211, which agrees well wight the calculation, but the unit stored in the hdf5 trajectory file, i.e. the attributes 'unitSI' of the weight dataset is wrong ,which is about the 25 orders of magnitude above the value I calculate according to the formula below:
Uploading input.py.zip…
The text was updated successfully, but these errors were encountered: