1.1.0

Release 1.1.0 brings some changes to match the adapted extracted API for beamopticsanalysis/cpymadtools. Code using pyhdtoolkit will need to be adapted.

Breaking Changes

  • The correctors, errors, orbit and setup modules has been removed and their functionality included in lhc, as it was LHC-specific.

  • The generators module has been made private.

Bug Fixes

  • The prepare_lhc_run2 function now properly calls the found sequence file.

  • The get_table_tfs function now avoids using the dframe() method of tables and converts them to a dict, then to a DataFrame to export. The previous implementation would sometimes crash on certain element names, or in cases of sliced sequences.

Enhancements

  • The do_kmodulation function now accepts kwargs that will be passed down to the TWISS call.

Maintenance

  • Documentation has been updated for all new APIs. Refer to the gallery for example uses.

  • The _generators being now private, they have been removed from the public API documentation.

  • Tests and internal API usehave been adapted.

  • Some style parameters in paper have been adapted.

  • The lhc module has been split up into many smaller private modules. The functionality of the APIs is unchanged, and they are still exposed at the lhc level.

See v1.1.0 release notes on GitHub and the full changes since v1.0.0.