Skip to main content

A fast particle tracking code for plasma accelerators.

Project description

Wake-T: A fast tracking code for plasma accelerators.

tests badge Documentation Status CodeFactor PyPI License

Highlight image

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:

Wake-T logo

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

  1. 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.

  1. 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


Download files

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

Source Distribution

Wake-T-0.6.4.tar.gz (103.6 kB view details)

Uploaded Source

Built Distribution

Wake_T-0.6.4-py3-none-any.whl (115.4 kB view details)

Uploaded Python 3

File details

Details for the file Wake-T-0.6.4.tar.gz.

File metadata

  • Download URL: Wake-T-0.6.4.tar.gz
  • Upload date:
  • Size: 103.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for Wake-T-0.6.4.tar.gz
Algorithm Hash digest
SHA256 d7e4a477a9ffcd9d80f2cb6312833327b8836b4e8e9b6ac2c65a2d12ff80fb47
MD5 4a97b8c52efb7eaf3fcb86e77554c53b
BLAKE2b-256 a6fea161da5aabe5336597a079d2e09dc03ebba300d25102d54d589c4137d0c2

See more details on using hashes here.

File details

Details for the file Wake_T-0.6.4-py3-none-any.whl.

File metadata

  • Download URL: Wake_T-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 115.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for Wake_T-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b200d4a9021149c6dda9d0631aab798b8b7e040e3686631a7c4f3f29ef32ec1b
MD5 1d617682193741ca8417b5cb3106d532
BLAKE2b-256 00324dac3a5ba147b20d23272aa8aa438e52515158f4229d22acd6624ab82bde

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page