Skip to content
Snippets Groups Projects
Select Git revision
  • 652b68a103ae2881526d8901d91f3f0dc822127e
  • 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

README.md

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    To learn more about this project, read the wiki.
    README.md 2.08 KiB

    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

    Clone the mbtrack2 repo and enter the repo:

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

    Using conda

    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 pip

    Run:

    pip install -r requirements.txt

    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: