ECP-WarpX / impactx

high-performance modeling of beam dynamics in particle accelerators with collective effects
https://impactx.readthedocs.io
Other
27 stars 20 forks source link

Add Python CSR wake plotting test. #696

Closed cemitch99 closed 1 month ago

cemitch99 commented 2 months ago

This adds a Python plotting script for the CSR wakefield in tests/python, as a follow-up to PR#627. The original author is xbojanic.

ax3l commented 1 month ago

Can you try if the standalone run of the test via pytest works locally? https://github.com/AMReX-Codes/pyamrex?tab=readme-ov-file#test

cemitch99 commented 1 month ago

Yes, this test passes if I run it locally via pytest, as expected. The saved png files may be deleted on completion--is there a way to run via pytest and also view the generated png files?

ax3l commented 1 month ago

Good question. I have to google that for pytest.