Skip to main content

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

Project description

mbtrack2

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.

Installation

Using pip

Run:

pip install mbtrack2

To test your installation run:

from mbtrack2 import *

Using conda

Clone the mbtrack2 repo and enter the repo:

git clone https://gitlab.synchrotron-soleil.fr/PA/collective-effects/mbtrack2.git
cd mbtrack2

To create a new conda environment for mbtrack2 run:

conda env create -f mbtrack2.yml
conda activate mbtrack2

Or to update your current conda environment to be able to run mbtrack2:

conda env update --file mbtrack2.yml

To test your installation run:

from mbtrack2 import *

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

References

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.

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.5.0.tar.gz (97.5 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.5.0-py3-none-any.whl (110.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mbtrack2-0.5.0.tar.gz
  • Upload date:
  • Size: 97.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Windows/10

File hashes

Hashes for mbtrack2-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d12c8b6af40c886a75e4c542490d0113d4ccf4f4c1dc7ab821dc0c39a7e84e24
MD5 53b9d4fd6a9b6efe95ec4879b13d9325
BLAKE2b-256 96f9ecd17b6e9b3aadc1eab9fd59a26622d3be5e788941a3f777f151b04e87dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mbtrack2-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 110.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Windows/10

File hashes

Hashes for mbtrack2-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67f7f73b7a42751fb844f69c5883273be97d92249d0be8e45dc5e944d5328fed
MD5 701550717f36aeda2314f7ecd5974047
BLAKE2b-256 9bd24d040f7b82f179388de61484bc2a7484156995560d749cee10f9e63960f1

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