Skip to content

Instantly share code, notes, and snippets.

@n01r
Created July 31, 2017 17:24
Show Gist options
  • Select an option

  • Save n01r/c95d25838c27e7d9258cfa36ef98f312 to your computer and use it in GitHub Desktop.

Select an option

Save n01r/c95d25838c27e7d9258cfa36ef98f312 to your computer and use it in GitHub Desktop.
convertToOPMD - How to use the simex_platform script
  1. Download / clone simex_platform
git clone [email protected]:eucall-software/simex_platform.git
  1. Go to Python sources
cd ~/simex_platform/Sources/python  
  1. Import SimEx modules
import SimEx
  1. Import the Wavefront-to-Photon Converter
import SimEx.Utilities.wpg_to_opmd as convert
  1. Convert the file to openPMD standard
convert.convertToOPMD(
  "<path_to_file>"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment