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/.
mcpltoolgets a new Python-based sibling, the
pymcpltoolcan 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
pymcpltoolboth gets a new
--textoption, which can be used to extract particle data from MCPL files into such text files.