A fast particle tracking code for plasma accelerators.
Project description
Wake-T: A fast tracking code for plasma accelerators.
Overview
Wake-T
(Wakefield particle Tracker) is a tracking code for laser- and beam-driven plasma wakefield accelerators which aims at providing a fast alternative to Particle-in-Cell (PIC) simulations. Instead of relying on the computationally-expensive PIC algorithm for simulating the plasma wakefields and the beam evolution, Wake-T
uses a Runge-Kutta solver to track the evolution of the beam electrons in the wakefields, which, at the same time, are computed from reduced models. This allows for a significant speed-up of the simulations, which can be performed in a matter of seconds instead or hours/days. An overview of this strategy can be seen in the following figure:
In addition to plasma-acceleration stages, Wake-T
can also simulate active plasma lenses, drifts, dipoles, quadrupoles and sextupoles, allowing for the simulation of complex beamlines. The tracking along the drifts and magnets is performed using second-order transfer matrices, and CSR effects can be included by using a 1D model. This matrix approach and the CSR model are based on a streamlined version of the Ocelot
implementation.
Installation
If you don't have Python 3 already installed, download the latest version, for example, from here. It is recommended to create a virtual environment for Wake-T
(you can see how here, for example). Remember to activate the new environment before proceeding with the installation.
Installing from PyPI
Simply type
pip install Wake-T
in your terminal.
Manual installation from GitHub
- Clone this repository to a directory in your computer using
git
git clone https://github.com/AngelFP/Wake-T.git
or simply download the code from here and unzip it.
- If you haven't already, open a terminal in the newly created folder and perform the installation with
pip install .
References
[1] - P. Baxevanis and G. Stupakov, Novel fast simulation technique for axisymmetric plasma wakefield acceleration configurations in the blowout regime, Phys. Rev. Accel. Beams 21, 071301 (2018).
[2] - A. Ferran Pousa et al., Wake-T: a fast particle tracking code for plasma-based accelerators, J. Phys.: Conf. Ser. 1350 012056 (2019).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Wake-T-0.6.0.tar.gz
.
File metadata
- Download URL: Wake-T-0.6.0.tar.gz
- Upload date:
- Size: 100.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 680c0ba7e22d287da86bbf77cc5964ac60060a7acb78e5a9ef25675cd06aba71 |
|
MD5 | 8dac998d217aa67e8a13215aa1fb6172 |
|
BLAKE2b-256 | 841a59a42ce11ae24236ad8070e8aedef4466d736fa01643cc5ef3ce22243cf1 |
File details
Details for the file Wake_T-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: Wake_T-0.6.0-py3-none-any.whl
- Upload date:
- Size: 115.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ee8b5698b07bd29d8a556e27aa9583095b7454212ade8006c2473058f27b17a |
|
MD5 | 0046ca4fca0f3d22aaf0263d9d11c365 |
|
BLAKE2b-256 | 9ab47910f0eb1acd6a8c030aa7237f7fa9287ff2969758c42357d2cad9316318 |