Skip to content

Could Mad-x create the Twiss file with rotation alignment error?  #1099

@LiarGC

Description

@LiarGC

I tried to add an alignment error to a sextupole.
Firstly I gave it a position alignment error:
EALIGN, DS := 5e-4*TGAUSS(2);
The "L" of this sextupole in the Twiss file changed correctly.

But when adding the rotation misalignment:
EALIGN, DS := 5e-4*TGAUSS(2), DPSI := 5e-4*TGAUSS(2);
The "K2SL" of this sextupole in the Twiss file was 0, while the "K2L" was still its original value.

I saved and checked the error file, finding no problem with the rotation misalignment. And I tried the PTC_TWISS function, which gave the same result, "K2SL"=0.

Did I miss some key word to include the rotation misalignment?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions