Metadata-Version: 2.1
Name: twissed
Version: 2.1.1
Summary: Python toolbox for LWFA simulations
Home-page: https://github.com/Twissed/Twissed
Author: Damien Minenna
Author-email: damien.minenna@cea.fr
License: MIT
Keywords: Twiss parameters,Beam dynamics,LWFA,PIC
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Typing :: Typed
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: scipy
Requires-Dist: h5py

# 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

* [FBPIC](https://fbpic.github.io/)
* [Smilei](https://smileipic.github.io/Smilei/)
* [Smilei via happi package](https://smileipic.github.io/Smilei/)
* [TraceWin](https://dacm-logiciels.fr/)
* [Astra]()

## 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
```shell
python -m pip install -e .
```

* Windows
```shell
py -m pip install -e .
```

## Tutorial

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

Copyright (c) 2024 Twissed

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
