Skip to content

PyPACHIP - Python Proton Accelerator on a Chip Simulation

Notifications You must be signed in to change notification settings

scimax/PyPACHIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

PyPACHIP - Python Proton Accelerator on a Chip Simulation

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages