Releases: xsuite/xcoll
Releases · xsuite/xcoll
Xcoll release 0.9.12
Develop Updates
- Test change after Xobjects update by @szymonlopaciuk in #192
Full Changelog: v0.9.11...v0.9.12
Xcoll release 0.9.11
What's Changed
- Support harmonic number-based cavity definitions in RF sweep by @gbrogginess in #190
- Added
xshiftoption to loss map plotting to centre the plot around a different position (with auto-wrapping)
Develop Update
- Fix in blowup installation with apertures, and apply this new install logic for collimator installs as well
- Fix in loading of old lossmap JSONs
Full Changelog: v0.9.10...v0.9.11
Xcoll release 0.9.10
Develop Updates
- Fix in FLUKA touches argument which was not correctly passed.
Full Changelog: v0.9.9...v0.9.10
Xcoll release 0.9.9
What's Changed
- Small bugfix in
EmittanceMonitor.install()andBlowUp.install()after last release - Bugfix in emittance mode calculation in
EmittanceMonitorwhen modes are calculated turn-by-turn
Full Changelog: v0.9.8...v0.9.9
Xcoll release 0.9.8
What's Changed
Full Changelog: v0.9.7...v0.9.8
Xcoll release 0.9.7
Develop Updates
- Replaced
DeprecationWarnings byFutureWarnings as the former are not shown to regular users. - Adapted the C source to shield standard library includes, such that they are only included for CPU contexts. This was causing issues on GPUs where compiled code would break if Xcoll elements were in the line.
- Bugfix in
CollimatorDatabase: when loading SixTrack files, individual gap settings for collimators were ignored.
Full Changelog: v0.9.6...v0.9.7
Xcoll release 0.9.6
What's Changed
- Bugfix in
EmittanceMonitorafter previous release: setting gemitt modes did not work correctly. Also, now all emittance arrays have -1 as the default value for untracked turns. - Relaxed ruamel spec in pyproject.toml
Full Changelog: v0.9.5...v0.9.6
Xcoll release 0.9.5
What's Changed
- Small improvements to the
EmittanceMonitor:- Warnings are shortened to avoid too much repeated output
- Added attribute
suppress_warningsto completely silence them (defaultFalse) - Caching the calculations is now done on a turn-by-turn basis. This allows interrupting tracking, calculating the modes, continuing tracking, and calculating the modes for the newly tracked turns, without the need to recalculate everything from the start.
- Added support for the latest ruamel versions
Develop Updates
- Bugfix in error output in scattering environment
- Bugfix in colldb installation of FlukaCollimators if material is set without assembly
- Added timing of interpolation in lossmap examples
- Bugfix: keep SixTrack colldb loading compatible with new pandas (which does not load string columns as object by default, as is needed here). This was making the tests fail on nightly
Full Changelog: v0.9.4...v0.9.5
Xcoll release 0.9.4
What's Changed
- Small bugfix in loss map plotting: it would fail when
zoomis specified buttitlesisn't - Example LHC collimation metadata (in examples/machines) should not have outer
collimationkey - Added
LossMap.update_metadatato update metadata (cold_regions,warm_regions,s_range) to existing loss maps for convenience if those are missing
Develop Updates
- Small fix in colldb from SixTrack (tests on nightly were failing)
Full Changelog: v0.9.3...v0.9.4
Xcoll release 0.9.3
What's Changed
LossMap:- Bugfix in aperture: when before collimator, it should only be redefined as absorbed if apertures are interpolated (otherwise, risk of not having any aperture losses for long region)
- Bugfix in loading from json: collimator and aperture adding was done wrong (
numpy.uniquereturn arguments were switched) - Speeding up loss map loading from JSON: reading files in parallel (validation and aggregation are sequential), and support for
orjsonif installed - Added
deposited_energyanddeposited_energy_per_lengthoptions to normalisation (need to also providebeam_intensity) - Plotting can now be done with multiple zooms
- Allow for (very) asymmetric jaws in
Geant4Collimator(e.g. both on the negative or both on the positive side)
Develop Updates
deep_equal:- Much faster comparison by enforcing type equality (in which case
listandnumpy.arrayare not equal) - Option (default False) to expand numpy arrays into lists (and xobjects into dicts) to ease comparison (in which case
listandnumpy.arrayare equal) - Now has a
verboseoption for debugging (only prints output on failure)
- Much faster comparison by enforcing type equality (in which case
- Lossmap saving stores only unique xcoll versions into lossmap (and timestamps are moved to end of json file for readability)
- Fix adt test for GPU context and added (working) copy method for
EmittanceMonitor - Correctly recognise compiled libraries (FLUKA & Geant4 interfaces) by Python versio
- Check that
engine.environmentcan only be accessed if using wrapper engine - Cannot instantiate
FlukaCollimatororGeant4Collimatorif engine is running - Limit number of warnings for multiple
rflukato one
Full Changelog: v0.9.2...v0.9.3