Skip to main content

A coherent object-oriented framework to work on collective effects in synchrotrons.

Project description

mbtrack2

GitLab Release PyPI - Version PyPI - License Read the Docs

mbtrack2 is a coherent object-oriented framework written in python to work on collective effects in synchrotrons.

mbtrack2 is composed of different modules allowing to easily write scripts for single bunch or multi-bunch tracking using MPI parallelization in a transparent way. The base of the tracking model of mbtrack2 is inspired by mbtrack, a C multi-bunch tracking code initially developed at SOLEIL.

Examples

Jupyter notebooks demonstrating mbtrack2 features are available in the example folder and can be opened online using google colab:

  • mbtrack2 base features Open In Colab
  • dealing with RF cavities and longitudinal beam dynamics Open In Colab
  • collective effects Open In Colab
  • bunch by bunch feedback Open In Colab
  • RF loops and feedbacks Open In Colab

Installation

Using pip

Run:

pip install mbtrack2

To test your installation run:

from mbtrack2 import *

Using docker

A docker image is available:

docker pull gitlab-registry.synchrotron-soleil.fr/pa/collective-effects/mbtrack2

References

If used in a publication, please cite mbtrack2 paper and the zenodo archive for the corresponding code version (and any other paper in this list for more specific features).

DOI

mbtrack2 general features

A. Gamelin, W. Foosang, and R. Nagaoka, “mbtrack2, a Collective Effect Library in Python”, presented at the 12th Int. Particle Accelerator Conf. (IPAC'21), Campinas, Brazil, May 2021, paper MOPAB070.

RF cavities with beam loading and RF feedbacks

Yamamoto, Naoto, Alexis Gamelin, and Ryutaro Nagaoka. "Investigation of Longitudinal Beam Dynamics With Harmonic Cavities by Using the Code Mbtrack." Proc. 10th International Partile Accelerator Conference (IPAC’19), Melbourne, Australia, 19-24 May 2019. 2019.

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

mbtrack2-0.9.0.tar.gz (121.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mbtrack2-0.9.0-py3-none-any.whl (138.0 kB view details)

Uploaded Python 3

File details

Details for the file mbtrack2-0.9.0.tar.gz.

File metadata

  • Download URL: mbtrack2-0.9.0.tar.gz
  • Upload date:
  • Size: 121.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-63-generic

File hashes

Hashes for mbtrack2-0.9.0.tar.gz
Algorithm Hash digest
SHA256 a881fe37f5244553f51ae724516aa33f4a2c04e7dffcb914269a4bd109ebb6dc
MD5 519b81ce911e6e3efad6644cf9385b67
BLAKE2b-256 3bf09f9ec6fdb58a804e49db075490b9f969af5f8d764b21a58ff0def76cd3a3

See more details on using hashes here.

File details

Details for the file mbtrack2-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: mbtrack2-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 138.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-63-generic

File hashes

Hashes for mbtrack2-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aba97da502d673aa3f160dc6f08fa61019236b1dcefa5322c377fdb91625d6ef
MD5 2a426c1c5fa6f4f37009254a1c822d85
BLAKE2b-256 88b6004c4e930e38e18972c8e9dbfd9f6a4bce74c955183f2977187f0eef1c73

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