Skip to main content

CERN code for simulating longitudinal beam dynamics in synchrotrons.

Project description

Copyright 2016 CERN. This software is distributed under the terms of the GNU General Public Licence version 3 (GPL Version 3), copied verbatim in the file LICENCE.txt. In applying this licence, CERN does not waive the privileges and immunities granted to it by virtue of its status as an Intergovernmental Organization or submit itself to any jurisdiction.


BLonD (Beam Longitudinal Dynamics)


CERN code for the simulation of longitudinal beam dynamics in synchrotrons.



  1. A gcc compiler with C++11 support (version greater than 4.8.4).
  2. An Anaconda distribution (Python 3 recommended).
  3. That’s all!

Install Steps

  • The easy way:
    $ pip install blond
  • If this fails try this:

    1. Clone the repository from github or download and extract the zip from here.
    2. Navigate to the downloaded BLonD directory and run:
    $ python install
  • If it still fails, navigate to the BLonD directory and run:

    1. $ python compile
    2. Then you have to use the PYTHONPATH variable or some other mechanism to point to the BLonD installation.

  • In the extremely rare occassion that it continues to fail, you can submit an issue and we will handle it ASAP.

Confirm proper installation

  • Run the unittests with pytest (may need to be installed first with pip install pytest):
    $ pytest -v unittests
  • Try to run some of the main files found in the examples:
    $ python __EXAMPLES/main_files/
    $ python __EXAMPLES/main_files/
    $ etc..


  • Simon Albright (simon.albright (at)
  • Theodoros Argyropoulos (theodoros.argyropoulos (at)
  • Konstantinos Iliakis (konstantinos.iliakis (at)
  • Ivan Karpov (ivan.karpov (at)
  • Alexandre Lasheen (alexandre.lasheen (at)
  • Danilo Quartullo (danilo.quartullo (at)
  • Joel Repond (joel.repond (at)
  • Helga Timko (Helga.Timko (at)


Juan Esteban Muller


  • the folder __TEST_CASES contains several main files which show how to use the principal features of the code;
  • the __doc folder contains the source files for the documentation on-line;
  • the various packages which constitute the code;
  • is needed to compile all the C++ files present in the project; this file should be run once before launching any simulation. The compiler C++ GCC (at least version 4.8) is necessary.
  • WARNINGS.txt contains useful information related to code usage.


  • 2017-03-28 v1.19.0 - Several files have been rearranged and simplified
  • 2017-02-10 v1.18.0 - Fixed an important bug in linear_interp_kick.cpp: before the acceleration kick was not applied if rf_kick_interp==TRUE in RingAndRFSection
  • v1.17.0 - Numerical synchrotron frequency distribution added (TC12) - Possibility to compute multi-turn wake with acceleration ( - fixed a bug in the periodicity routine (in
  • 2016-10-24 v1.16.0 - MuSiC algorithm introduced, TC11 added, minor bugs fixed
  • 2016-07-29 v1.15.1 - several upgrades and bug fixes
  • 2016-06-23 v1.14.5 - RF modulation file added in llrf folder - documentation on-line for PSB phase loop added - removed because not used
  • 2016-06-21 v1.14.4 -

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for blond, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size blond-2.0.0-py3-none-any.whl (191.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size blond-2.0.0.tar.gz (151.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page