Skip to content

pyAT Error when calculating damping ring #767

@ustc-cheese

Description

@ustc-cheese

Hello everyone
I am currently working with storage ring with wigglers. But the radiation_parameter will get "AttributeError: 'Wiggler' object has no attribute 'Energy'". Did I do someting wrong or what?
The wiggler was imported in a mat file reads:
period_length = 0.9/8;
l_und = 0.9;
Bmax = 4.531017900217211;
Energy = 800e6;
WIG2 = atwiggler('WIG2', l_und, period_length, Bmax,Energy,'GWigSymplecticPass');
Thank you all
Best Regards
Weijie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions