Release 0.9.0
Release 0.9.0 brings the following:
Added:
- A
misalign_lhc_ir_quadrupoles
function in thecpymadtools.errors
module to conveniently applyEALIGN
to IR quadrupoles. - A
misalign_lhc_triplets
function in thecpymadtools.errors
, convenience wrapper around the aforementioned one for triplets. - A
correct_lhc_orbit
function in thecpymadtools.orbit
module to perform orbit correction usingMCB.*
elements in the LHC. - A
vary_independent_ir_quadrupoles
function in thecpymadtools.special
to conveniently send thevary
commands for the desired quadrupoles in the IRs. - A
tune
module incpymadtools
with currently amake_footprint_table
function that creates aDYNAP
setup according to parameters and returns the generated table. - An
utils.htc_monitor
module with functionality to query the HTCondor queue, process the returned data and nicely display it. To be ran directly, but different functionality can be imported.
Changed:
- The
telescopic_squeeze
parameter inmatch_tunes_and_chromaticities
now defaults to True, to reflect the LHC scenario as of Run III. - The
get_ips_twiss
andget_ir_twiss
functions have been moved fromcpymadtools.special
tocpymadtools.twiss
.
Fixed:
- Fixed an issue in
plot_latwiss
where the function would sometimes mishandle thexlimits
argument. - Fixed a mistake in
apply_lhc_rigidity_waist_shift_knob
where theside
argument would be ignored if uppercase.
Additional dependencies are pydantic
, rich
and pendulum
. The llvmlite
dependency is also added explicitely, though it is a dependency of numba
and the version constraint is here to guarantee pyhdtoolkit
will build on Python 3.9.
Tests now include Python 3.9.