Hello,
I just released version 0.2.1 of beamdpr, a tool I use to manipulate phase space (egsphsp1) files. Updates since the last release include
– handling arbitrarily large files
– randomizing the particle order in the file
– sampling and combining phase space files (to get a representative sample of many large files)
– modifying particle weight distribution by linear function of off-axis distance (and preserving total weight of file)
– printing arbitrary fields, eg to print the x and y coordinates of the first 100 particles:
beampdr print my.egsphsp1 –field=x –field=y -n=100
This release can also be installed very easily on your mac via homebrew with:
brew tap henrybaxter/tap
brew install beamdpr
I hope someone finds this tool as useful as I have, and I look forward to any feedback you may have.