Skip to content

Conversation

@pkicsiny
Copy link

@pkicsiny pkicsiny commented Nov 17, 2025

Added crab waist transformation at the IP.

This is a transformation of the y and px particle coordinates. The formulas derive from the sextupole Hamiltonian of the "crab-sextupole" that is used to implement the crab waist scheme at the FCC-ee. The transformation is applied in the AddParticles.cpp file in the lab frame, before the beam rotation.
Added documentation of the user input flags.
Added unittest input and analysis script.

Unit test and analysis script added.

@RemiLehe RemiLehe requested a review from aeriforme November 25, 2025 23:34
@aeriforme aeriforme changed the title add crabwaist [WIP] Add crabwaist Nov 26, 2025
@aeriforme aeriforme added enhancement New feature or request component: initialization Changes related to the initialization of the simulation labels Nov 26, 2025
import matplotlib.pyplot as plt
from openpmd_viewer import OpenPMDTimeSeries
import os
from scipy.constants import alpha, c, eV, m_e, pi

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'alpha' is not used.
Import of 'pi' is not used.
Peter Kicsiny and others added 11 commits December 16, 2025 15:08
Updated the crab waist transformation description to use LaTeX formatting for mathematical expressions.
Updated Zobov reference with new details and corrected formatting.
Updated formatting for crab waist strength parameter description.
Added default value for do_crabwaist parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: initialization Changes related to the initialization of the simulation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants