openPMD/openPMD-viewer

addon:pic:get_emittance micron to meters conversion

Closed this issue · 3 comments

were multiplications like these

x *= 1.e-6
y *= 1.e-6

and this
current = np.abs(vzq_sum * bins / (len_z * 1.e-6))

supposed to stay here after the update to 1.0?

Good catch! Thanks a lot. I'll prepare a fix.

and this thanx goes to our post-doc Julius Huijts who've got stumbled by it doing emittance study =)

Nice to hear that people are using the addon 👍