twissed

Python toolbox for LWFA simulations


Keywords
Twiss, parameters, Beam, dynamics, LWFA, PIC
License
MIT
Install
pip install twissed==2.1.1

Documentation

Twissed

Overview

Twissed is a Python package 🐍 that provides a large number of data analysis tools for beam dynamics and laser wakefield acceleration simulations.

Twissed is multi-OS (Windows, Linux, Mac) and can be easily installed everywhere thanks to its low number of dependencies (numpy, pandas, scipy, h5py). It is especially made to run on HPC clusters.

Twissed can read and write data from several sources

Installation

Requirement

Python 3.7 or greater

  • Mandatory packages: numpy pandas scipy h5py.
  • Optional packages: matplotlib seaborn happi(smilei)

Installation

After downloading the project:

  • Mac OS/Linux
python -m pip install -e .
  • Windows
py -m pip install -e .

Tutorial

Examples Twissed use are available at https://github.com/Twissed/Twissed_tutorial