Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.46 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.46 KB

PyPACHIP

PyPACHIP - Python Proton Accelerator on a Chip Simulation

Using standalone

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.

Developer installation guide

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

Build instructions

In order to build the executable using pyinstaller, the following errors have to be solved:

As the second link mentions, Visual Studio 2015 was used to implement the dll files required for numpy.