ColwynGulliford / distgen

Particle distribution generator
https://colwyngulliford.github.io/distgen/
Apache License 2.0
12 stars 8 forks source link

Use new ParticleStatus enum to handle the status for ParticleGroup #9

Closed ChristopherMayes closed 2 years ago

ChristopherMayes commented 2 years ago

Checks self.params['start']['type'] == "cathode" and sets all status = ParticleStatus.CATHODE form the latest openPMD-beamphysics Python package.