Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lasy input file reading #163

Open
wants to merge 10 commits into
base: feature/new_gridless_model
Choose a base branch
from

Conversation

delaossa
Copy link
Contributor

This PR implements a fix to read from a (OpenPMD) LASY file in the same way FBPIC does, i.e.:
"... It forces the beginning of the time axis in the lasy file to be zero (irrespective of the metadata for tmin that is actually present in the lasy file). "
And also accept the t_start parameter:
"t_start (float (in seconds), optional, default: 0) – Physical time (in the simulation), at which the laser will start being emitted. This can be used in order to introduce a time delay that was not originally present in the lasy file. "
Check here:
https://fbpic.github.io/api_reference/lpa_utilities/laser_profiles/from_lasy_file.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants