PyEmittance
PyEmittance is a tool for the adaptive measurement of beam emittance (e.g. of an electron beam at OTR/YAG beam profile monitors) using a single quadrupole scan developed at SLAC National Accelerator Laboratory. The Twiss parameters and the 'Bmag' match parameter can also be obtained. It can be used in different beamlines/machines by defining machine-specific configuration files.
This tool was designed for robustness during online machine learning optimizations where each measurement needs to be reliable. It is still a work in progress, with version 1.0 to be released soon.
For more information, please see the IPAC coneference proceedings DOI: 10.18429/JACoW-IPAC2022-TUPOST059
Installation
Clone the repository and run the command below to install:
pip install -e .
Or install by running:
pip install pyemittance
Setting the correct configuration parameters for the machine/simulation
For examples on how to set the correct configuration and how to use the new API, please see examples/tutorial.ipynb.
Citations
For citing this work, please use:
{@article{Miskovich:2022kqg,
author = "Miskovich, Sara and Edelen, Auralee and Mayes, Christopher",
title = "{PyEmittance: A General Python Package for Particle Beam Emittance Measurements with Adaptive Quadrupole Scans}",
doi = "10.18429/JACoW-IPAC2022-TUPOST059",
journal = "JACoW",
volume = "IPAC2022",
pages = "TUPOST059",
year = "2022"
}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyemittance-1.1.4.tar.gz.
File metadata
- Download URL: pyemittance-1.1.4.tar.gz
- Upload date:
- Size: 53.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62629495e46f49e72b12cbe8d348e3565f8a62f1e3d6a1813bd178a4293424f8
|
|
| MD5 |
a0e24c66424fa6307f885818b38823f5
|
|
| BLAKE2b-256 |
8153ed0e3d2610c48a6d1c8a43c6c2d2aed0b143aa619511ce8955a3e353db13
|