config.plots module
Define the functions to test that plots will work.
The presets listed here are defined in visualization.plot
. This is where
you will find corresponding documentation, and where you should define you own
presets.
Todo
It would be interesting to be able to pass some fig_kw directly from the
.toml
. I guess it is one of the reason of why I started refactoring the
plots…
- IMPLEMENTED_PLOTS = ('energy', 'phase', 'cav', 'emittance', 'twiss', 'envelopes', 'transfer matrices')
- TO_UPDATE_OR_FIX = ('transfer matrices',)
- test(energy: bool = False, phase: bool = False, cav: bool = False, emittance: bool = False, twiss: bool = False, envelopes: bool = False, transfer_matrices: bool = False, **plots_kw: bool) None
Check if the desired plots are implemented.