Genetic Algorithm Resonator Fitting for Impedance ExtrapoLation and Determination
Project description
IDDEFIX
Originally forked from https://github.com/SebastienJoly/IDDEFIX
Impedance Determination through Differential Evolution FItting and eXtrapolation.
IDDEFIX is a physics-informed evolutionary optimization framework that fits a resonator-based model (parameterized by R, f, Q) to wakefield simulation data. It leverages Differential Evolution to optimize these parameters, enabling efficient classification and extrapolation of electromagnetic wakefield behavior. This allows for reduced simulation time while maintaining long-term accuracy, akin to time-series forecasting in machine learning
About
🚀 IDDEFIX features:
-
Resonators formulas
- Longitudinal and transverse impedance (Fully/ partially decayed)
- Longitudinal and transverse wake
- Longitudinal and transverse wake potentials
-
Differential Evolution algorithm for fitting resonsators to impedance
- SciPy's Differential Evolution
- pyfde ClassicDE
- pyfde JADE
- pyMOO's CMA-ES "Covariance Matrix Adaptation Evolution Strategy"
-
Smart Bound Determination for precise and easy boundary setting
How to install
IDDEFIX is deployed to the Python Package Index (pyPI). To install it in a conda environment do:
pip install iddefix
It can also be installed directly from the Github source to get the latest changes:
pip install git+https://github.com/ImpedanCEI/IDDEFIX
How to use / Examples
IDDEFIX is documented using Sphinx and ReadTheDocs. Documentation is available at: http://iddefix.readthedocs.io/
Check :file_folder: examples/ for different DE resonator fitting cases
- Analytical resonator initialization and fitting
- Resonator fitting on accelerator cavity simulation and extrapolation
- Resonator fitting on beam wire scanner simulation
- Resonator fitting on SPS transistion device and extrapolation
Contributors :woman_technologist: :man_technologist:
- Author : Sébastien Joly (sebastien.joly@helmholtz-berlin.de)
- Collaborator :
- Malthe Raschke (malthe@raschke.dk)
- Refactored code and PYPI deployment
- Smart Bound Determination
- Example notebooks for extrapolation of analytical and simulated devices
- Bernardo Abreu Figueiredo (bernardo.abreu.figueiredo@cern.ch):
- CMA-ES kernel integration from
pymoo
- CMA-ES kernel integration from
- Malthe Raschke (malthe@raschke.dk)
- Maintainer: Elena de la Fuente (elena.de.la.fuente.garcia@cern.ch)
Publications about iddefix
- S. Joly, Resonator impedance extrapolation of a partially decayed wake presentation @ CERN ABP-CEI section meeting link
- S. Joly, PhD Thesis Recent advances in the CERN PS impedance model and instability simulations following the LHC Injectors Upgrade project Sapienza Universita di Roma link
- M. Raschke, Evolutionary Algorithms for Wakefields @ CERN ABP-CEI section meeting link
- B. Figueiredo, Using Xsuite and (CMA-ES) genetic methods to optimize FCC GHS momentum acceptance @ CERN ABP-CAP section meeting link
Nightly Test badges
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iddefix-0.1.4.tar.gz.
File metadata
- Download URL: iddefix-0.1.4.tar.gz
- Upload date:
- Size: 47.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cda2df4e35263d18e829e245b0920cdc27fa5bbc5c0c8f2ba6e364d9e8cf80b
|
|
| MD5 |
13e58f75db1e06955d1e711a9ef72adc
|
|
| BLAKE2b-256 |
2f8b32abf8b4cbe423e762411be5b138b78fd19dc5a57da4a80a03d6d3b9a5a6
|
Provenance
The following attestation bundles were made for iddefix-0.1.4.tar.gz:
Publisher:
publish.yml on ImpedanCEI/IDDEFIX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iddefix-0.1.4.tar.gz -
Subject digest:
3cda2df4e35263d18e829e245b0920cdc27fa5bbc5c0c8f2ba6e364d9e8cf80b - Sigstore transparency entry: 1003397092
- Sigstore integration time:
-
Permalink:
ImpedanCEI/IDDEFIX@524821316231eeff3f685fea436126322840f793 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/ImpedanCEI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@524821316231eeff3f685fea436126322840f793 -
Trigger Event:
push
-
Statement type:
File details
Details for the file iddefix-0.1.4-py3-none-any.whl.
File metadata
- Download URL: iddefix-0.1.4-py3-none-any.whl
- Upload date:
- Size: 39.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4389acf0cf214edc2d3809b364d89c6f537c81b8b14a9ccf338b58953e3c449a
|
|
| MD5 |
87306414b3586018cb398e2303b90247
|
|
| BLAKE2b-256 |
6c2bc236db186ff0a7e2cd24b376d2a983a418270197c51efcf4096f155ed0c8
|
Provenance
The following attestation bundles were made for iddefix-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on ImpedanCEI/IDDEFIX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iddefix-0.1.4-py3-none-any.whl -
Subject digest:
4389acf0cf214edc2d3809b364d89c6f537c81b8b14a9ccf338b58953e3c449a - Sigstore transparency entry: 1003397101
- Sigstore integration time:
-
Permalink:
ImpedanCEI/IDDEFIX@524821316231eeff3f685fea436126322840f793 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/ImpedanCEI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@524821316231eeff3f685fea436126322840f793 -
Trigger Event:
push
-
Statement type: