PyZgoubi is an interface to the Zgoubi particle tracker written in python.
Project description
This is an interface to zgoubi. And framework for accelerator design. It is tested with zgoubi 6.0.1 from http://sourceforge.net/projects/zgoubi/ as well as recent developement versions, on Linux, MacOS X and Windows.
Requirements:
Python 2.5 or newer (not ported to 3.x yet)(2.7 recommended)
Numpy 1.4 or newer
Recomended
Scipy
Matplotlib
Some features may require the new versions
Zgoubi can require several GB of RAM. See the Memory Issues section in the documentation for hints for low RAM systems.
To install run:
./setup.py install
or to in install to a specific place:
./setup.py install --prefix=/home/sam/pyzgoubi
If you install pyzgoubi to a custom prefix you may need to adjust your $PATH and $PYTHONPATH variables, the install script will give you some hints about what to do.
Once pyzgoubi is install run:
pyzgoubi --version
to check that it runs correctly. You may need to do this from a new terminal in order be using an updated $PATH. Don’t run this from the inside the source directory.
To automatically install zgoubi run:
pyzgoubi --install-zgoubi
this installs zgoubi into ~/.pyzgoubi/bin you can adjust ~/.pyzgoubi/settings.ini to use this as the default zgoubi executable.
There are some tests distributed with the source code. To run tests run:
./run_tests
Note that there are some know failures, see CHANGES for more info.
Documentation is available at http://www.hep.manchester.ac.uk/u/samt/pyzgoubi/doc.html or in the doc/ directory. To build the documentation run (you will need sphinx installed):
./setup.py build_sphinx
More information can be found at http://www.hep.manchester.ac.uk/u/samt/pyzgoubi/ or https://sourceforge.net/projects/pyzgoubi/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyzgoubi-0.6.0a1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17912a171e8fc0031c21c7ffe44943b445797ccd42b389fe7e852f5da7830257 |
|
MD5 | 99fe005bad08e03d27e0152145617f16 |
|
BLAKE2b-256 | c9d33e0743c18d826cd85e49b1390c54f507fc3711357dba1f913b11e8c481f3 |