PyPACHIP - Python Proton Accelerator on a Chip Simulation
At the moment it is only provided for Windows OS. No python installation is required to run the executable. You can download pypachip.exe from the release page.
When running the scripts directly, the following is required:
- Python 3.5
- Packages:
- numpy
- scipy
- matplotlib
- wxpython phoenix
The first three packages can be installed via
pip install -r requirements.txt
The last one is not available at the python package index yet since it's still under development. Information about the project can be found here as well as the snapshot-builds.
To install the snapshot simply use
pip install -U --pre \
-f https://wxpython.org/Phoenix/snapshot-builds/ \
wxPython_Phoenix
After downloading the files from the src directory, run
python main.py
In order to build the executable using pyinstaller, the following errors have to be solved:
- http://stackoverflow.com/questions/35478526/pyinstaller-numpy-intel-mkl-fatal-error-cannot-load-mkl-intel-thread-dll
- pyinstaller/pyinstaller#1566
As the second link mentions, Visual Studio 2015 was used to implement the dll files required for numpy.