i_phase_space_beam_parameters module
Hold the beam parameters in a single phase space.
For a list of the units associated with every parameter, see Units and conventions.
Note
In this module, angles are stored in deg, not in rad!
- PHASE_SPACES = ('zdelta', 'z', 'phiw', 'x', 'y', 't', 'phiw99', 'x99', 'y99')
- class IPhaseSpaceBeamParameters(phase_space_name: Literal['zdelta', 'z', 'phiw', 'x', 'y', 't', 'phiw99', 'x99', 'y99'], eps_no_normalization: ndarray | float, eps_normalized: ndarray | float, envelopes: ndarray | None = None, twiss: ndarray | None = None, sigma: ndarray | None = None, tm_cumul: ndarray | None = None, mismatch_factor: ndarray | float | None = None)
Bases:
ABCHold Twiss, emittance, envelopes of single phase-space @ single pos.
- classmethod from_sigma(phase_space_name: Literal['zdelta', 'z', 'phiw', 'x', 'y', 't', 'phiw99', 'x99', 'y99'], sigma: ndarray, gamma_kin: ndarray | float, beta_kin: ndarray | float, beam_kwargs: dict[str, Any], **kwargs: ndarray) Self
Compute Twiss, eps, envelopes just from sigma matrix.
- classmethod from_other_phase_space(other_phase_space: Self, phase_space_name: Literal['zdelta', 'z', 'phiw', 'x', 'y', 't', 'phiw99', 'x99', 'y99'], gamma_kin: ndarray | float, beta_kin: ndarray | float, beam_kwargs: dict[str, Any], **kwargs: ndarray) Self
Fully initialize from another phase space.
- __init__(phase_space_name: Literal['zdelta', 'z', 'phiw', 'x', 'y', 't', 'phiw99', 'x99', 'y99'], eps_no_normalization: ndarray | float, eps_normalized: ndarray | float, envelopes: ndarray | None = None, twiss: ndarray | None = None, sigma: ndarray | None = None, tm_cumul: ndarray | None = None, mismatch_factor: ndarray | float | None = None) None
- _abc_impl = <_abc._abc_data object at 0x7f36f97dab40>