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 | |
|---|---|
| ROOT | Solves the data analysis challenges of high-energy physics |
| OpenFOAM | Facilitates the numerical solution of partial differential equations |
| McStas | Neutron ray-trace simulation application |
| Octopus | Real-space, real-time implementation of TDDFT |
| Geant4 | Toolkit for the simulation of the passage of particles through matter |
| Rivet | Particle-physics MC analysis toolkit |
| HepMC | Event record for High Energy Physics Monte Carlo generators |
| Elmer | Finite Element Software for Multiphysical Problems |
| PYTHIA | Generation of high-energy physics events |
| CP2K | Quantum chemistry and solid state physics software package |
| Sherpa | Monte Carlo event generator |
| FastJet | Software for jet finding in pp and e+e− collisions |
| SU2 | Suite for multiphysics simulation and design |
| Herwig | Multi-purpose particle physics event generator |
| Tracker | Video analysis and modeling tool designed to be used in education |
| WarpX | Advanced electromagnetic and electrostatic Particle-In-Cell code |
| Step | Interactive physics simulator |
| Meep | Electromagnetic simulation - finite-difference time-domain method |
| LHAPDF | General purpose C++ interpolator |
| ESPResSo | Molecular dynamics package |
| DualSPHysics | Smoothed Particle Hydrodynamics solver |
| Basilisk | Numerical simulation framework for solving partial differential equations |
| Gerris Flow Solver | Tool for generic numerical simulations of flows |
| ASL | Hardware accelerated multiphysics simulation platform |
Read our verdict in the software roundup.
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. |


Please read our Comment Policy before commenting.