@tkittel tkittel released this Jul 4, 2017 · 20 commits to master since this release

Assets 2

This MCPL version introduces native Python-support!

  • Users can now open and access all contents of MCPL files from Python, using a new user-friendly and efficient NumPy-based native Python module: mcpl.py. For more information and examples, see https://mctools.github.io/mcpl/usage_python/.
  • The mcpltool gets a new Python-based sibling, the pymcpltool. The pymcpltool can be downloaded and run on any machine with Python and NumPy, without the need for any code compilation, making MCPL-file inspection more portable than ever. In addition to being able to inspect MCPL files just like the regular mcpltool, it can also be used to extract statistics and create plots of distributions of particle contents in a given file. For examples, see https://mctools.github.io/mcpl/usage_cmdline/.
  • For compatibility with software expecting data in column-based text files, the mcpltool and pymcpltool both gets a new --text option, which can be used to extract particle data from MCPL files into such text files.