Skip to content
Snippets Groups Projects
Select Git revision
  • a712038652223dffb5649ec360542dcf35014b72
  • stable default protected
  • develop protected
  • feature-particle-in-cell
  • feature-quad_wakes_LongRangeResistiveWall
  • Resisitve_wall_eff_radius_yokoya
  • feature-iqdamper0
  • feature-feedback-IQ-damper0
  • feature-read_wakis
  • use-one-bin
  • RF-FBv0.6
  • RF-FBv0.5
  • faster_pytorch
  • RF-FB
  • util
  • RFBucket
  • Long-range_wakepotential
  • 0.9.0
  • 0.8.0
  • 0.7.0
  • 0.6.0
  • 0.5.0
  • 0.4
  • 0.3
  • 0.2
  • 0.1
26 results

mbtrack2

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • 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 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).

    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.