Xtrack

Latest version: v0.63.0

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

Scan your dependencies

Page 12 of 24

0.29.2

**Change:**
- Allow loss location refinement in the presence of ParticlesMonitor elements.

0.29.1

**Fix**
- Allow zero radius in racetrack aperture limits

0.29.0

**Changes:**
- Introduce Exciter element.
- Introduce TwissTable.get_R_matrix method.
- Add consistency check in LimitRacetrack initialisation.
- Introduce Line.remove_redundant_apertures method.
- Introduce Multiline.from_dict and Multiline.to_dict methods.
- Line simplification methods now support inplace=False and keep=['ELE1', 'ELE2', ... ]
- Survey.__getitem__ supports tuple ['name', 'column']
- Updated all test_data json files following the introduction of Marker elements

0.28.0

**Changes:**
- Methods and attributes of the Tracker class transferred to the Line class. As of this version the user should never need to access the Tracker object directly but can perform all operations using the Line object (e.g. line.track(...), line.twiss(...), line.configure_radiation(...), line.compensate_energy_loss(...), etc.)
- Introduce Line.to_json and Line.from_json methods.
- Introduce replace_in_expr option in mad_loader to replace a set of strings in all imported expressions.
- Introduce expressions_for_element_types in mad_loader to import deferred expressions only for elements of selected types (e.g. only for kicker elements).
- Introduce Line.closed_orbit_correction.
- Introduce Multiline class to handle multiple beam lines sharing a set of knobs.
- In Line.twiss add possibility to have multipole strengths in the output table.
- In Line.match introduce possibility to have targets quantities at specific locations in the beam line.
- In Line.match, in the Jacobian calculation, introduce support for steps of different size for the different variables.
- In Line.match introduce possibility to have different scales for the different targets.
- Fix in mad_loader in the import of Translation elements.

0.27.1

**Changes:**
- Refactoring: auxiliary functions _is_drift, _behaves_like_drift, _is_aperture, _is_thick, _allow_backtrack, _skip_in_loss_location_refinement.
- Add defaults for isthick, behaves_like_drift, allow_backtrack, skip_in_loss_location_refinement
- Add corresponding flags in relevant element classes.

0.27.0

**Changes:**
- New random generator implementation. Add generation of exponential, Gaussian and Rutherford distributions.
- Adds a LastTurnsMonitor to record particle coordinates in the last turns in which they are active.
- Implement the ZetaShift element and add in the mad_loader the conversion of the 'translation' element from MAD-X to a combination of XYShift and ZetaShift.

Page 12 of 24

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.