Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@delaossa
Copy link
Collaborator

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 LASY-org/lasy#384

  • Laser initialization from file, follows FBPIC standard.
  • Implement new H5 reading format.
  • Add polarization attribute to laser envelope diagnostics.

@delaossa
Copy link
Collaborator Author

delaossa commented Nov 17, 2025

@AlexanderSinn As you hinted here #181 (comment) , the codacy test works when the PR comes from the main repo, but not from forks

@delaossa
Copy link
Collaborator Author

Add unit test for OpenPMDPulse

@delaossa delaossa requested review from MaxThevenet and removed request for AlexanderSinn November 18, 2025 09:53
@codacy-production
Copy link

codacy-production bot commented Nov 18, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for e94d9241 86.67%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (e94d924) Report Missing Report Missing Report Missing
Head commit (f256c05) 4740 2539 53.57%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#189) 15 13 86.67%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

Copy link
Contributor

@MaxThevenet MaxThevenet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR! See 1 comment below.

@MaxThevenet MaxThevenet merged commit 7b0fb09 into dev Nov 25, 2025
8 checks passed
@MaxThevenet MaxThevenet deleted the read_openpmd branch November 25, 2025 15:38
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.

3 participants