CERN PyHEADTAIL numerical n-body simulation code for simulating macro-particle beam dynamics with collective effects.
Project description
CERN PyHEADTAIL macro-particle code for simulating beam dynamics in particle accelerators with collective effects.
PyHEADTAIL is written in Python with some C extensions, compiled with Cython. Currently, PyHEADTAIL is compatible with Python v3.6 or later.
Installation for Users
For using PyHEADTAIL without modifying the source code, we recommend to install the latest version via PyPI:
$ pip install PyHEADTAIL
Installation for Developers
For developers of PyHEADTAIL, we recommend to install a stand-alone package from the source code using git. For GPU usage, the developer version is required (the Makefile is included in the source code version only).
We recommend to use the Anaconda package manager to simplify installing. You can obtain it from anaconda.org .
Installation of PyHEADTAIL on linux (having git installed) is straight forward.
Clone the repository in a local folder:
$ git clone https://github.com/PyCOMPLETE/PyHEADTAIL
Go to the folder and run the installation script:
$ cd PyHEADTAIL
$ make
And there you go, start using PyHEADTAIL!
$ cd ..
$ ipython
...
In [1]: import PyHEADTAIL
For a single installation of PyHEADTAIL we recommended to add the PyHEADTAIL path to your PYTHONPATH.
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
File details
Details for the file PyHEADTAIL-1.16.3.tar.gz
.
File metadata
- Download URL: PyHEADTAIL-1.16.3.tar.gz
- Upload date:
- Size: 315.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 968c0a38ef635f8107d467467e58d0ac04541ed18fda2b24bc83f34f1e609ebe |
|
MD5 | 94c1031ae3b89a6d34821cafecbc8390 |
|
BLAKE2b-256 | c687a0e1d223d817019a4e3124b5c5be37a77457b57f5b1e72198b2cbd50eefe |