You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: Make curves optional in LinearSerializedMagnetModel #517
Description, motivation and use case LinearMagnetModel allows omitting curve, which defaults to None. However, LinearSerializedMagnetModel requires curves; omitting it raises:
PyAMLConfigException: missing a required argument: 'curves'
Proposed solution
Allow curves to be omitted for serialized magnets, consistently with LinearMagnetModel.
When they are omitted, a simple linear conversion with calibration_factors and calibration_offsets should be applied between hardware and strength. (As LinearMagnetModel does)
Activity