Xtrack – particle tracking simulations for accelerators

Xtrack is a particle tracking library designed for studying beam dynamics in particle accelerators. It forms part of Xsuite, a collection of scientific computing tools for accelerator modelling and simulation.

The library allows researchers to model the motion of charged particles through accelerator components such as magnets, radio-frequency cavities and other beamline elements.

Xtrack is particularly useful for understanding how accelerator configurations influence particle trajectories, beam stability and machine performance.

Researchers can construct accelerator lattices, simulate the passage of particles through individual elements and analyse their behaviour over many revolutions. The software can also be used to adjust accelerator parameters to achieve desired optical properties.

Xtrack integrates with other Xsuite components for particle generation, electromagnetic field calculations and more comprehensive beam dynamics studies.

Its computational capabilities support both conventional processors and graphics accelerators, making it suitable for simulations involving large particle populations.

This is free and open source software.

Key Features

  • Single-particle tracking through configurable accelerator beamlines.
  • Modelling of accelerator elements, including dipoles, quadrupoles, multipoles and radio-frequency cavities.
  • Four-dimensional and six-dimensional particle tracking calculations.
  • Twiss parameter calculations for analysing accelerator optics and beam behaviour.
  • Numerical lattice matching to optimise tunes, chromaticities and other optical properties.
  • Dynamic aperture studies for investigating particle stability over repeated turns.
  • Multi-turn tracking with configurable particle monitors and beam statistics.
  • Time-dependent accelerator elements and adjustable machine parameters.
  • Support for synchrotron radiation effects and spin tracking.
  • Closed-orbit calculations and analysis of accelerator lattice properties.
  • Importing and constructing beamline descriptions, including MAD-X lattice information.
  • Tracking on CPUs and GPUs, including multithreaded CPU execution.
  • Integration with other Xsuite libraries for particle generation and collective effects.

Website: github.com/xsuite/xtrack
Support:
Developer: G. Iadarola and contributors
License: Apache License 2.0

Xtrack is written in C and Python. Learn C with our recommended free books and free tutorials. Learn Python with our recommended free books and free tutorials.


Related Software

Physics Tools
ROOTSolves the data analysis challenges of high-energy physics
OpenFOAMFacilitates the numerical solution of partial differential equations
McStasNeutron ray-trace simulation application
OctopusReal-space, real-time implementation of TDDFT
Geant4Toolkit for the simulation of the passage of particles through matter
RivetParticle-physics MC analysis toolkit
HepMCEvent record for High Energy Physics Monte Carlo generators
ElmerFinite Element Software for Multiphysical Problems
PYTHIAGeneration of high-energy physics events
CP2KQuantum chemistry and solid state physics software package
SherpaMonte Carlo event generator
FastJetSoftware for jet finding in pp and e+e− collisions
SU2Suite for multiphysics simulation and design
HerwigMulti-purpose particle physics event generator
TrackerVideo analysis and modeling tool designed to be used in education
WarpXAdvanced electromagnetic and electrostatic Particle-In-Cell code
StepInteractive physics simulator
MeepElectromagnetic simulation - finite-difference time-domain method
LHAPDFGeneral purpose C++ interpolator
ESPResSoMolecular dynamics package
DualSPHysicsSmoothed Particle Hydrodynamics solver
BasiliskNumerical simulation framework for solving partial differential equations
Gerris Flow SolverTool for generic numerical simulations of flows
ASLHardware accelerated multiphysics simulation platform

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted