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

OPAL emitted dist writer #5

Closed nneveu closed 4 years ago

nneveu commented 4 years ago

A space is required between the equal sign and the 'emitted' text in order to get the opal emitted writer to work. Maybe this flag should be reformatted.

https://github.com/ChristopherMayes/openPMD-beamphysics/blob/master/pmd_beamphysics/interfaces/opal.py

def write_opal(particle_group,
outfile,
dist_type = 'emitted',
verbose=False):