Michael,
To input the higher order multipoles, I use the parameters like systematic_multipoles and random_multipoles for KSEXT and KQUAD. However, I felt inconvenient because I had to manually type this information into the lte file, even though the file names are the same. I can't use the load_parameter command because string is not allowed for ParameterValue.
In practice, magnets are specified in families. It is very likely that the multipole errors are the same for a family of magnets. And the difference among the family is specified as random error. Could you add a feature such that this information can be input in the ele file? Like one multipole file for one magnet family.
It would be a lot easier to input and remove.
Regards,
Weiming
Input of the higher order multipoles
Moderators: cyao, michael_borland
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Input of the higher order multipoles
Weiming,
You can do this with load_parameters. Just give a file with a string column called ParameterStringValue instead of the usual ParameterValue column.
An even easier way is using alter_elements, e.g.,
&alter_elements name=*, type=KQUAD, item=systematic_multipoles, string_value=<filename> &end
and so on for the other parameters.
--Michael
You can do this with load_parameters. Just give a file with a string column called ParameterStringValue instead of the usual ParameterValue column.
An even easier way is using alter_elements, e.g.,
&alter_elements name=*, type=KQUAD, item=systematic_multipoles, string_value=<filename> &end
and so on for the other parameters.
--Michael
Re: Input of the higher order multipoles
Michael,
Thanks a lot! Guess how much time I have saved.
Weiming
Thanks a lot! Guess how much time I have saved.
Weiming