Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyHEADTAIL-1.16.1.tar.gz (288.5 kB view details)

Uploaded Source

File details

Details for the file PyHEADTAIL-1.16.1.tar.gz.

File metadata

  • Download URL: PyHEADTAIL-1.16.1.tar.gz
  • Upload date:
  • Size: 288.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for PyHEADTAIL-1.16.1.tar.gz
Algorithm Hash digest
SHA256 bbe69eeb2f57fffee455a35dc14cca95a9c650ba334982fa9ba62a1ebd5b5606
MD5 28bacf1bf569560c72ca8d85cd1554d3
BLAKE2b-256 789f5458dc75c80b3e74d67cd94184c80e45881fd6219c497f77268693f2a77e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page