cfm_magnet#
- class ConfigModel(*, name, description=None, lattice_names=None, mapping, model=None)[source]#
Bases:
ElementConfigModelCreate a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- model: MagnetModel | None#
Object in charge of converting magnet strenghts to currents
- class CombinedFunctionMagnet(cfg, peer=None)[source]#
Bases:
ElementCombinedFunctionMagnet class
- property hardwares: ReadWriteFloatScalar#
Gives access to the strengths of this combined function magnet in hardware unit when possible
- property strengths: ReadWriteFloatScalar#
Gives access to the strengths of this combined function magnet in physics unit