Pyheadtail

Latest version: v1.16.1

Safety actively analyzes 630450 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 12

1.5.0

Merry Christmas! :-)

New features:
- UniformBinSlicer allows for specified sampling points (for wakes)
- RFSystems can remove kicks
- KV 1D and 2D distribution included into generators
- Particles can sort their arrays and apply given permutations
- a first version of the GPU module enters PyHEADTAIL (Particles, Slicing etc on GPU)
- CUDA thrust library interface for specific functions
- ParticlesGPU implements sorting via thrust
- slicing with PyPIC (e.g. for GPU usage)
- RFBucketMatcher allows for margin along separatrix
- optimised RFBucketMatcher generation (much quicker!)
- longitudinal wrapping to keep z within circumference
- pre-commit hooks (make sure to include these in your GIT config!)
- ParticleGenerator interface change (linear_matcher removed)
- pure python RFQ implementation (besides existing cython version)
- adaptation of Bunch-/SliceMonitor for GPU usage

1.4.2

Hotfix of longitudinal tracking for non-proton-type beams

The calculation of the synchronous phase takes the
charge given at the instantiation of RFSystems.
This argument is new and defaults to the proton value.

The setting of the charge only affects the phase locking
for multi-harmonic systems, otherwise phi_s is not used
internally.

This hotfix should correct for electron use as Xu Haisheng
(PSI) pointed out. Thanks for making the point.

1.4.1

Hotfix: detuners did not use relative phase advances accQ_x, accQ_y.

This hotfix makes the detuners use the relative bare betatron
phase advance per segment instead of the averaged segment_length.

This is important if accQ_x and accQ_y in the TransverseMap
during setup are not given as scalar values of the betatron tune
(which ends in the smooth approximation) but instead are taken as
varying arrays e.g. from real TWISS lattices.

RFQ, Detuners and TransverseTrackings have been adapted in both
Python and Cython versions. Also the tests have been adapted
both in interactive-tests and unittests.

1.4.0

**New interface for:**
- Generators for Particles instances / beams (much cleaner)

**New features:**
- Seperate generating and matching phase space functionality
- Matchor for linear transverse and longitudinal Twiss parameters ('matching section')
- Matching for dispersion
- Adopted and extended previous functionalities (CutRFBucket now for any distribution etc.)

1.3.2

Bugfix in the interplay of RFSystems and dispersion.
This version supports dispersion !=0 for RFSystems as longitudinal trackers (not only for LinearMaps)

1.3.1

Minor bug fixes for setup.py, WakeTest.ipynb, versioning without git and README.

Page 8 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.