Skip to main content

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.

PyPI - Version PyPI - License Documentation Status

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

  • 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:

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

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

iddefix-0.1.2.tar.gz (42.2 kB view details)

Uploaded Source

File details

Details for the file iddefix-0.1.2.tar.gz.

File metadata

  • Download URL: iddefix-0.1.2.tar.gz
  • Upload date:
  • Size: 42.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for iddefix-0.1.2.tar.gz
Algorithm Hash digest
SHA256 dcb7f981be6fdd71c9a7d58537989d70123fe094ea14de473ecc0545a4d64413
MD5 f1394aeba65b953334588037178ebc03
BLAKE2b-256 e5202fd153203fc33b9b8b18f846b955cdcaf6e799de131a893b33cbe09a8f96

See more details on using hashes here.

Supported by

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