Implement Dipole magnet.
Today we have only HCorrector and VCorrector.
A dipole is mandatory for ramped machine and/or dipole equipped with an additional correction coil.
Basically a dipole magnet has a model that depends only on $B\rho$.
So the main coil current should change only according to $B\rho$.
This require #90
A correction coil will have a model that will depend on the HCorrector strength and $B\rho$.
Such a Dipole can be configured as:
i.e.
- type: pyaml.magnet.dipole
name: DIP # All dipoles are named DIP is the lattice
model:
type: pyaml.magnet.dipole_linear_model # this model depend only on Brho
# calibration stuff
....
powerconverter:
- type: tango.pyaml.attribute
attribute: srmag/ps-main/dip/current
unit: A
- type: pyaml.magnet.hcorrector
name: DIP-C01-H
lattice_names: DIP@0 # Main current is serialized, we access the good dipole in the lattice
model:
type: pyaml.magnet.linear_model # this model depend only on Brho and H strength
# calibration stuff
....
powerconverter:
- type: tango.pyaml.attribute
attribute: srmag/ps-corr-dip/c01/current
unit: A
- type: pyaml.magnet.hcorrector
name: DIP-C02-H
lattice_names: DIP@1 # Main current is serialized, we access the good dipole in the lattice
model:
type: pyaml.magnet.linear_model # this model depend on Brho and H strength
# calibration stuff
....
powerconverter:
- type: tango.pyaml.attribute
attribute: srmag/ps-corr-dip/c02/current
unit: A
Implement Dipole magnet.
Today we have only HCorrector and VCorrector.
A dipole is mandatory for ramped machine and/or dipole equipped with an additional correction coil.$B\rho$ .$B\rho$ .
Basically a dipole magnet has a model that depends only on
So the main coil current should change only according to
This require #90
A correction coil will have a model that will depend on the HCorrector strength and$B\rho$ .
Such a Dipole can be configured as:
i.e.