Releases: xsuite/xtrack
Releases · xsuite/xtrack
Xtrack version 0.32.0
Changes:
- Removed Tracker class from user interface (remains as internal implementation). Functionality can now be accessed through the Line class (see xsuite/xsuite#322). Backward compatibility kept for the time being (with deprecation warning).
- Simplified management of collective elements in Tracker (Tracker._supertracker removed, rationalized class implementation)
- Collected all attributes controlling the behavior of Tracker and Line within Line.config (passed to C as preprocessor macros) and Line._extra_config (available only at python level and exposed via properties). These are preserved by
to_dict
/from_dict
,to_json
/from_json
andcopy
methods. - Remove
global_xy_limit
argument ofbuild_tracker
. Global aperture can be controlled withline.config.XTRACK_GLOBAL_XY_LIMIT
. - Remove
reset_s_at_end_turn
argument ofbuild_tracker
. This feature can now be accessed through the attributeLine. reset_s_at_end_turn
.
Xtrack version 0.31.0
Changes:
- Add
Line.get_footprint(...)
method. - Introduce smart table for twiss and survey (e.g.
tw[['betx', 'bety'], 'drift.*']
,tw[:, ip1:ip5]
,tw[:, 100.3:200.4:"s"]
. - Discontinue
Line.twiss(reverse=True)
andLine.survey(reverse=True)
, replaced byLine.twiss().reverse()
andLine.survey().reverse()
- Introduce possibility of disabling all Xsuite printed output (
xtrack._print.suppress = True
).
Full Changelog: v0.30.1...v0.31.0
Xtrack version 0.30.1
Xtrack version 0.30.0
Changes:
- Adapt xtrack to the new particles classes introduced in xpart v0.14.0 (allow multiple Particles classes).
Full Changelog: v0.29.4...v0.30.0
Xtrack version 0.29.4
Changes:
- Add option to hide groups of thin elements in twiss output (useful to remove artefacts from element shifts and rotations)
- Example of RF frequency trim
- Change type of Exciter.samples to float32
- Add length to LinearTransferMatrix
Xtrack version 0.23.3
Changes:
- Another small fix in RaceTrack aperture limit
Xtrack version 0.29.2
Change:
- Allow loss location refinement in the presence of ParticlesMonitor elements.
Xtrack version 0.29.1
Fix
- Allow zero radius in racetrack aperture limits
Xtrack version 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
andMultiline.to_dict
methods. - Line simplification methods now support
inplace=False
andkeep=['ELE1', 'ELE2', ... ]
Survey.__getitem__
supports tuple ['name', 'column']- Updated all test_data json files following the introduction of
Marker
elements
Xtrack version 0.28.0
Changes:
- Methods and attributes of the
Tracker
class transferred to theLine
class. As of this version the user should never need to access theTracker
object directly but can perform all operations using theLine
object (e.g.line.track(...)
,line.twiss(...)
,line.configure_radiation(...)
,line.compensate_energy_loss(...)
, etc.) - Introduce
Line.to_json
andLine.from_json
methods. - Introduce
replace_in_expr
option inmad_loader
to replace a set of strings in all imported expressions. - Introduce
expressions_for_element_types
inmad_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 ofTranslation
elements.