Skip to Content.
Sympa Menu

opal - [Opal] Octupole magnet strengths are set using the formula for Decapoles

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] Octupole magnet strengths are set using the formula for Decapoles


Chronological Thread  
  • From: "Finn O'Shea" <finn.oshea AT nusano.com>
  • To: opal <opal AT lists.psi.ch>
  • Subject: [Opal] Octupole magnet strengths are set using the formula for Decapoles
  • Date: Tue, 11 May 2021 10:32:23 -0700

Hi All,

In the course of trying to get Opal to agree with another code, I discovered that the normal component of the octupole strength is set using the formula for decapoles.  Line 114 of Multipole.cpp shows that the OCTUPOLE case is combined with the DECAPOLE case:

    case OCTUPOLE:
    case DECAPOLE:
        NormalComponents[n - 1] = (v + vError) / 24;
        NormalComponentErrors[n - 1] = vError / 24;
        break;
This can be fixed with the following changes:
    case OCTUPOLE:
        NormalComponents[n - 1] = (v + vError) / 6;
        NormalComponentErrors[n - 1] = vError / 6;
        break;
    case DECAPOLE:
        NormalComponents[n - 1] = (v + vError) / 24;
        NormalComponentErrors[n - 1] = vError / 24;
        break;

Finn

--
Senior Scientist
Nusano, Inc
28575 Livingston Ave
Valencia, CA 91355
Office: 1 (424) 293-3174



Archive powered by MHonArc 2.6.19.

Top of Page