Skip to content

Improve Wake <-> impedance conversions using ihfft #72

Open
KeonHKim wants to merge 5 commits into
ImpedanCEI:mainfrom
KeonHKim:feature/issue-56-fix
Open

Improve Wake <-> impedance conversions using ihfft #72
KeonHKim wants to merge 5 commits into
ImpedanCEI:mainfrom
KeonHKim:feature/issue-56-fix

Conversation

@KeonHKim
Copy link
Copy Markdown

📝 Pull Request Summary

This PR fixes a normalization issues in the wake/impedance conversions. It also updates the impedance-to-wake conversion to use the ihfft method, adds support for non-ultrarelativistic cases, and enables conversions for the transverse plane.

🔧 Changes Made

  • Fixed normalization bugs in calc_impedance_from_wake and calc_wake_from_impedance
  • Updated impedance-to-wake conversion to use the ihfft method
  • Added support for transverse plane conversions
  • Added support for non-ultrarelativistic cases
  • Updated test_004_wakes_and_impedances.py accordingly

✅ Checklist

  • Code follows the project's style and guidelines
  • Added tests for new functionality
  • Updated documentation (mentioned in docs/ or included in examples/ and notebooks/)
  • Verified that changes do not break existing functionality (automatic tests passing)

📌 Related Issues / PRs

Closes #56

@elenafuengar elenafuengar changed the title Feature/issue 56 fix Improve Wake <-> impedance conversions using ihfft Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compare scipy/numpy regular FFT with hfft and ihfft routines to compute impedances and wake functions

2 participants