ChristopherMayes/openPMD-beamphysics

Output to parallel elegant format (binary)

Opened this issue · 0 comments

Feature request: add an option that allows elegant_write() to dump a binary format that works in parallel elegant
Something along the lines of what the pysdds module does:

import sdds
pysdds = sdds.SDDS(0)
pysdds.load(outfile)
pysdds.mode = pysdds.SDDS_BINARY #to convert from ASCII to BINARY, need binary for pelegant
pysdds.save(outfile)

sdds data module is needed from elegant page:
https://www3.aps.anl.gov/forums/elegant/viewtopic.php?f=11&t=803&p=3292&hilit=sddsdatamodule#p3292