xsuite / xwakes

Apache License 2.0
2 stars 1 forks source link

Unify the various component names around #21

Open nmounet opened 2 weeks ago

nmounet commented 2 weeks ago

KIND_DEFINITIONS (with dipolar_x',longitudinal, etc.) inxwakes/wit/component.pyshould be the new standard, and replace remnants from the previous code, e.g. thecomponent_namesstill inxwakes/wit/interface.py`.

To keep some back compatibility, these component_names (xdip, xquad, etc.) should first just be added to the dictionary in KIND_DEFINITIONS (and the corresponding functions should be adapted if necessary).