ChristopherMayes / openPMD-beamphysics

Tools for analyzing and viewing particle data in the openPMD standard, extension beamphysics.
https://christophermayes.github.io/openPMD-beamphysics/
Apache License 2.0
16 stars 15 forks source link

Add "muon" and "antimuon" as Valid Species for `ParticleGroup` #65

Closed electronsandstuff closed 2 months ago

electronsandstuff commented 2 months ago

This PR adds the particles "muon" and "antimuon" as options for the species of a ParticleGroup object. Their mass and change were added to the file pmd_beamphysics\species.py and the changes were tested by running some of the example notebooks with the species of the particles manually set to "muon" and "antimuon".