Xtrack

Latest version: v0.63.0

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

Scan your dependencies

Page 24 of 24

0.2.0

**New features:**
- Added BeamInteraction element to handle processes that produce secondary particles
- Removed num_particles attribute in from Particles class. Replaced with _capacity, _num_active_particles,_num_lost_particles. The last two are updated only on CPU while on gpu the information must be retrieved from Particles.state.
____________________

Other clean up and fixes are also included.

0.1.2

**Fix:**
- Scale transverse momenta in LocalParticle_update_p0c

0.1.1

**Fix:**
- (zeta, delta) update in linear transfer matrix

0.1.0

**New features:**
- Electron lens element has been introduced (thanks phermes)
- Linear Transfer matrix element has been introduced (thanks xbuffat).
- PyHEADTAIL interface has been improved to support slicing features (thanks xbuffat)
- Multithreading via OpenMP is now fully supported (it can be enabled when creating the context, e.g. xo.ContextCpu(omp_num_threads=8). At the source code level the developer needs to use the annotation \\start_per_particle_block which introduces the necessary directives (see [documentation](https://xsuite.readthedocs.io/en/latest/newbeamelement.html)).
- Particles coordinate names in xtrack, xline and xpart have been aligned. Now it is possible to create xtrack particles form xpart or xline particles simply by xtrackpart = xt.Particles(**xpartpart.to_dict()). The function xt.pyparticles_to_xtrack_dict has been removed.

Page 24 of 24

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.