-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi Nick,
Hope you are well.
I have encountered what I think is an issue when adding two pulses in the GUI, where the energy out is twice the sum of the energy of each pulse in. I have attached two simulations showing a minimum working example, where I initialise pulses in vacuum but don't propagate them anywhere.
If I run with one pulse, e.g. with 1e-6 J, I can integrate the output spectrum and obtain the pulse energy out.
If I run with two pulses, e.g. each with 1e-6 J, I integrate the output spectrum and obtain 4e-6 J as the energy out. I have ran this with multiple different pulses and energies and see the same thing.
I have also attached a simple python script with the integration I have done (you'll just have to add the paths).
EnergyInPulsesIssue.txt
SinglePulse.zip
TwoPulses.zip
Please could you let me know if you agree and if you are able to find an easy fix.
Best wishes,
Jack