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.

Ruff PyPI - Version PyPI - License Documentation Status nightly_tests_CPU_python3.13

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

Nightly Test badges

manual_tests_CPU_python11 nightly_tests_CPU_python3.11 nightly_tests_CPU_python3.12 nightly_tests_CPU_python3.13

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.2.0.tar.gz (51.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iddefix-0.2.0-py3-none-any.whl (42.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iddefix-0.2.0.tar.gz
  • Upload date:
  • Size: 51.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for iddefix-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0a60fffa1b3bfce3675fefc29cb0fd83937ab4bdb161169fdc00fc5bb08f7401
MD5 0f1050803f28c20d322aabcba1b20b7c
BLAKE2b-256 5f97142bda3ec5117e8203ca4e3313378f7fa68f3776453cb66e20fa23a74c6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for iddefix-0.2.0.tar.gz:

Publisher: publish.yml on ImpedanCEI/IDDEFIX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file iddefix-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: iddefix-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 42.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for iddefix-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea328492746a148bf7d4eb7ac8c15c244fd90ff3c74aee1fc7af7436491362ba
MD5 b622fbeb7f38bcfce98f360b94b87fab
BLAKE2b-256 7452ec11a5f663467cf2da1d2f8f63b07262e8226265d1276010a6ae68b7ae67

See more details on using hashes here.

Provenance

The following attestation bundles were made for iddefix-0.2.0-py3-none-any.whl:

Publisher: publish.yml on ImpedanCEI/IDDEFIX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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