Skip to main content

CERN PyHEADTAIL numerical n-body simulation code for simulating macro-particle beam dynamics with collective effects.

Project description

CERN PyHEADTAIL numerical n-body simulation code for simulating macro-particle beam dynamics with collective effects.

PyHEADTAIL is written in C and Python. Currently, PyHEADTAIL is compatible with Python v2.7.

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 (for Python 2.7) 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

PyHEADTAIL v1.12.2

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.12.2.tar.gz (737.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: PyHEADTAIL-1.12.2.tar.gz
  • Upload date:
  • Size: 737.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyHEADTAIL-1.12.2.tar.gz
Algorithm Hash digest
SHA256 6499b28320b32b252f247e07dc8ca0f7d91bb8312fab081a75ddff6b5d08aa5d
MD5 6a36cf48be715e205cc17a6ce401e0c3
BLAKE2b-256 9c0df95fdcaff3f4c2e9e0c9480e700e8139e183df17fc2cd5c5694c8fc5b309

See more details on using hashes here.

Supported by

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