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.
Examples
Jupyter notebooks demonstrating mbtrack2 features are available in the example folder and can be opened online using google colab:
- mbtrack2 base features
- dealing with RF cavities and longitudinal beam dynamics
- collective effects
- bunch by bunch feedback
- RF loops and feedbacks
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 *
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).
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mbtrack2-0.8.0.tar.gz.
File metadata
- Download URL: mbtrack2-0.8.0.tar.gz
- Upload date:
- Size: 120.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.6 Linux/6.8.0-49-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb290c6da4dfb7277ec9967d0d30a0c73ad14d1e9ab00fa0f5b4cc90886d81cf
|
|
| MD5 |
c15a82fdaf6f16db9fa7bc1f090e3ce3
|
|
| BLAKE2b-256 |
4357b34a6726e83844eadd7b9733a2954ebee324dcfa6daf82e7512ad9b4ba0b
|
File details
Details for the file mbtrack2-0.8.0-py3-none-any.whl.
File metadata
- Download URL: mbtrack2-0.8.0-py3-none-any.whl
- Upload date:
- Size: 134.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.6 Linux/6.8.0-49-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbe3a0833ae04f1b710a117cf58e364315590a51838abba2c027183177de9377
|
|
| MD5 |
a806708851893e6a8ffe94aa3279b26b
|
|
| BLAKE2b-256 |
fe5243dd18e23f275930492fae10dbb95a8acb0451553cabc3701888a69dde95
|