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
andsetup
modules has been removed and their functionality included inlhc
, as it wasLHC
-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 thedframe()
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 acceptskwargs
that will be passed down to theTWISS
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 thelhc
level.
See v1.1.0 release notes on GitHub and the full changes since v1.0.0.