-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mercury fixes #573
Mercury fixes #573
Conversation
The relevant arrays are one element arrays not 3 element arrays so we need to take the first element to get a scalar
@jenshnielsen are you sure that your changes of |
while youre at it, maybe we want to change this function:
basically adding:
to make sure phi is always positive? |
and maybe we want to define if we run the magnet in current or field mode, and then remove all the |
@MerlinSmiles you are probably right but unfortunately it doesn't take that code path for other parameters such as z field |
now I see the issue, yes its only going there for the 'current' version of sending the field. Stupid mistake. A note on the side, using the current parameters instead of tesla parameters gives you one decimal place higher in resolution on the magnet. |
Agreed with @MerlinSmiles in Slack |
Author: Jens Hedegaard Nielsen <jenshnielsen@gmail.com> Mercury fixes (#573)
Some small issues found while working with the code on T10
@MerlinSmiles @QCoDeS/core