Skip to content

Releases: xsuite/xcoll

Xcoll release 0.9.12

22 Apr 09:08
a05fc86

Choose a tag to compare

Develop Updates

Full Changelog: v0.9.11...v0.9.12

Xcoll release 0.9.11

11 Mar 09:17
1eca8ba

Choose a tag to compare

What's Changed

  • Support harmonic number-based cavity definitions in RF sweep by @gbrogginess in #190
  • Added xshift option 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

02 Mar 17:42
1035fd0

Choose a tag to compare

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

25 Feb 15:55
35a579d

Choose a tag to compare

What's Changed

  • Small bugfix in EmittanceMonitor.install() and BlowUp.install() after last release
  • Bugfix in emittance mode calculation in EmittanceMonitor when modes are calculated turn-by-turn

Full Changelog: v0.9.8...v0.9.9

Xcoll release 0.9.8

24 Feb 15:11
6c17925

Choose a tag to compare

What's Changed

Full Changelog: v0.9.7...v0.9.8

Xcoll release 0.9.7

20 Feb 21:37
fcb323e

Choose a tag to compare

Develop Updates

  • Replaced DeprecationWarnings by FutureWarnings 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

12 Feb 10:00
0254483

Choose a tag to compare

What's Changed

  • Bugfix in EmittanceMonitor after 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

11 Feb 09:01
b74a332

Choose a tag to compare

What's Changed

  • Small improvements to the EmittanceMonitor:
    • Warnings are shortened to avoid too much repeated output
    • Added attribute suppress_warnings to completely silence them (default False)
    • 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

26 Jan 11:22
65b3c7f

Choose a tag to compare

What's Changed

  • Small bugfix in loss map plotting: it would fail when zoom is specified but titles isn't
  • Example LHC collimation metadata (in examples/machines) should not have outer collimation key
  • Added LossMap.update_metadata to 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

22 Jan 00:43
09b0d5a

Choose a tag to compare

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.unique return arguments were switched)
    • Speeding up loss map loading from JSON: reading files in parallel (validation and aggregation are sequential), and support for orjson if installed
    • Added deposited_energy and deposited_energy_per_length options to normalisation (need to also provide beam_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 list and numpy.array are not equal)
    • Option (default False) to expand numpy arrays into lists (and xobjects into dicts) to ease comparison (in which case list and numpy.array are equal)
    • Now has a verbose option for debugging (only prints output on failure)
  • 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.environment can only be accessed if using wrapper engine
  • Cannot instantiate FlukaCollimator or Geant4Collimator if engine is running
  • Limit number of warnings for multiple rfluka to one

Full Changelog: v0.9.2...v0.9.3