Wake-T
Wake-T copied to clipboard
New OpenPMD laser input.
This PR makes a few convenient changes for the initialization of laser pulses from a OpenPMD file with OpenPMDPulse.
Since this class depends on FromOpenPMDProfile in LASY, this PR is also intended to make Wake-T compatible with the new H5 reader in https://github.com/LASY-org/lasy/pull/384
- [x] Laser initialization from file, follows FBPIC standard.
- [x] Implement new H5 reading format.
- [x] Add polarization attribute to laser envelope diagnostics.
All is done, but codacy test fails.
Also addresses #174.