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.1.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.1-py3-none-any.whl (138.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mbtrack2-0.9.1.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-79-generic

File hashes

Hashes for mbtrack2-0.9.1.tar.gz
Algorithm Hash digest
SHA256 295303363e6422cdf40e5a4fab42bb77089f53bcef7fa9ffeea0f1969335d5dd
MD5 17fa3d17ccbaa65a50a8318c4b416db5
BLAKE2b-256 a12a9229a90436dc2a8838bbd0e6042fac08b44c879876bcfac8d4016ad2e2cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mbtrack2-0.9.1-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-79-generic

File hashes

Hashes for mbtrack2-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8d45e01c2fb4d183fd9823e5808d6a47227f1aaae64c8fee8e22bb7eafc90e6
MD5 2bcb46ad358857cf2c77e8aa89ab6887
BLAKE2b-256 7d035045dd6c59f9deb95eaacc080d475af4d2ce3b0aa999ee6f39093ae68717

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