Releases: xsuite/xtrack
Releases · xsuite/xtrack
Xtrack version 0.19.4
Changes:
- Update following method rename in xobjects
Line.from_dictsignificantly faster following xobject optimisation
Xtrack version 0.19.2
Changes:
- Handle local_particle_src in a way that is compatible with python multithreading
Xtrack version 0.19.1
Changes:
- Rename
CustomSettertoMultiSetter. - Fix in
mad_loader(import of crabcavity element)
Xtrack version 0.19.0
Changes:
- Introduced
CustomSetterclass to simultaneously apply changes to a large number of element properties
Xtrack version 0.18.0
Changes:
- Introduce e-lens with arbitrary radial profile.
- Subtract arbitrary dipolar kick in wire beam element.
- Introduce
LongitudinalLimitRectbeam element. - Make effective quantum radiation robust against dynamic beta.
- Element-by-element monitor now saves value at the end of the line.
- Tracker.twiss computes values at the end of the line (solves issues with tune computation when the last element is a drift). Added input flag
values_at_element_exitto get optionally get values at the exit of the elements. - More efficient implementation of
Line.copy. - Fixed issue with repeated names in
Line.to_dict. - Option
inplace=Falseis not anymore allowed inLine.remove_inactive_multipoles,LIne.remove_zero_length_drifts,Line.merge_consecutive_driftsandLine.merge_consecutive_multipoles. User should explicitly make a copy of the line before the simplification steps. - Further development of pipelined multibunch simulation capabilities, in view of strong-strong beam beam simulations.
Xtrack version 0.17.0
Changes:
- Rewritten mad_loader, new features:
- Improved import of MAD-X expressions
- Import of tilt and offsets for elements and apertures from MAD-X elements and error tables
- Introduced
Line.to_pandasandLine.check_aperturemethods - Introduced flag to skip loss location refinement for certain element classes, e.g. collimators
Xtrack version 0.16.2
Changes:
- Introduced mechanism to pass custom headers to
Tracker - Introduced compilation flag to disable radiation in Multipole at compile time (beneficial for performance)
Xtrack version 0.16.1
Changes:
- Refactored
BeamElementclass and metaclass to remove duplicated code and features fromxobjects.HybridClass. - Kernel declarations can be provided through the
_kerneldictionary when subclassingBeamElement. - Additional dependencies from xobjects types can be specified through the
_depends_onlist when subclassingBeamElement. - Adapted to new Xobjects API (C source code provided in
_extra_c_sourcesinside class declaration,_move_torenamed tomove,XoStructrenamed to_XoStruct). - Renamed
per_particle_kernelsto_per_particle_kernels. - LocalParticle API is temporarily appended to the Particles class API just before compiling the track kernels. It is removed right after the compilation.
Xtrack version 0.16.0
Changes:
- Removed
dress_elementfunction. Now there is only one mechanism to create beam elements which is to inherit from theBeamElementclass. - Across the package
xobjects.DressedStructhas been replaced withxobjects.HybridClassfollowing update in xobjects. - Introduced pipeline features (preparation for strong-strong beam beam simulations):
- Collective elements can put the tracking on hold;
- Tracker handles the hold condition and can resume the tracking when the Tracker.resume method is called;
- Introduced
PipelineMultitrackerobjects to handle multiple ongoing tracking sessions.
- Introduced custom per-particle kernels attached to beam elements.
- Regenerated all json files in test_data folder following refactoring of beam-beam classes in xfields.
- Introduced
_arr2ctxinternal method to transfer arrays to context if needed. extra_sourcesare now specified as member of the BeamElement class and not attached a posteriori to the XoStruct as done before.- Adapted ducktrack to setup beam-beam elements from dictionaries produced with he new data structure implemented in xfields.
Xtrack version 0.15.0
Changes:
knlandkslstored directly inMultipoleandRFMultipoledata structures (instead ofbal). Improves significantly the speed when these are changed dynamically in the simulation.- Restored set of canonically conjugate variables in R matrix, now using (x, px, y, py, zeta, pzeta)