beta beat optimization
Moderators: cyao, michael_borland
-
- Posts: 29
- Joined: 15 Jun 2021, 13:38
beta beat optimization
Hello Michael,
I add a wiggler in a hard edge model to my ring. Then I optimize it. The optimization depends on the initial values of quadruples. I could remove beta beating but I cant get the tune of machine that is 7.23 horizontally and 6.19 vertically. May i ask you to take a look to my files?
Many thanks and best regards,
Samira
I add a wiggler in a hard edge model to my ring. Then I optimize it. The optimization depends on the initial values of quadruples. I could remove beta beating but I cant get the tune of machine that is 7.23 horizontally and 6.19 vertically. May i ask you to take a look to my files?
Many thanks and best regards,
Samira
- Attachments
-
- STORAGE.lte
- (3.01 KiB) Downloaded 287 times
-
- track.ele
- (1.39 KiB) Downloaded 292 times
-
- optimize.ele
- (3.27 KiB) Downloaded 312 times
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: beta beat optimization
Samira,
Please see the attached files.
--Michael
Please see the attached files.
--Michael
- Attachments
-
- 2021-07-20.zip
- (4.25 KiB) Downloaded 334 times
-
- Posts: 29
- Joined: 15 Jun 2021, 13:38
Re: beta beat optimization
Hi Michael,
It was really very helpful. many thanks.
Is there any script that I can plot beta beat after insertion of a wiggler respect to the lattice without wiggler?
I wanted to plot the beta function with the lattice, I used this:
sddsplot -col=s,"(betax,betay)" -legend -grap=line,vary track.twi -columnNames=s,Profile track.mag -factor=ym=1
But I can't see wiggler in my lattice.
Should I use any other script to plot beta function with lattice (wiggler included)?
Many thanks for you help,
Samira
It was really very helpful. many thanks.
Is there any script that I can plot beta beat after insertion of a wiggler respect to the lattice without wiggler?
I wanted to plot the beta function with the lattice, I used this:
sddsplot -col=s,"(betax,betay)" -legend -grap=line,vary track.twi -columnNames=s,Profile track.mag -factor=ym=1
But I can't see wiggler in my lattice.
Should I use any other script to plot beta function with lattice (wiggler included)?
Many thanks for you help,
Samira
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: beta beat optimization
Samira,
See the attached file for a script that will compute and plot beta beats.
Usage example:
--Michael
See the attached file for a script that will compute and plot beta beats.
Usage example:
Code: Select all
computeBeats -reference perfectLattice.twi -input perturbedLattice.twi
-
- Posts: 29
- Joined: 15 Jun 2021, 13:38
Re: beta beat optimization
Hello Michael,
I run this script but I got this message:
command not found...
Cheers,
Samira
I run this script but I got this message:
command not found...
Cheers,
Samira
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: beta beat optimization
Samira,
Is your path set correctly? Try copying the script to the directory with your data and using ./computeBeats (assuming you are using linux).
--Michael
Is your path set correctly? Try copying the script to the directory with your data and using ./computeBeats (assuming you are using linux).
--Michael
-
- Posts: 29
- Joined: 15 Jun 2021, 13:38
Re: beta beat optimization
Dear Michael,
Yes, I am using Linux. I set the path correctly but it isn't working.
In your reply on 12 Aug 2021,you mentioned "the attached file" but there isn't any file. Did you attach any file?
Many thanks for you reply,
Samira
Yes, I am using Linux. I set the path correctly but it isn't working.
In your reply on 12 Aug 2021,you mentioned "the attached file" but there isn't any file. Did you attach any file?
Many thanks for you reply,
Samira
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: beta beat optimization
Samira,
Sorry, I forgot to attach the script. Here it is. I zipped it so that the virus scanner won't reject it.
--Michael
Sorry, I forgot to attach the script. Here it is. I zipped it so that the virus scanner won't reject it.
--Michael
- Attachments
-
- computeBeats.zip
- (846 Bytes) Downloaded 294 times
-
- Posts: 29
- Joined: 15 Jun 2021, 13:38
Re: beta beat optimization
Dear Michael,
I run this script but I got this message:
can't read "0": no such variable
while executing
"exec oagtclsh "$0" "$@""
(file "./computeBeats" line 4)
Cheers,
Samira
I run this script but I got this message:
can't read "0": no such variable
while executing
"exec oagtclsh "$0" "$@""
(file "./computeBeats" line 4)
Cheers,
Samira
Re: beta beat optimization
Can you run "file computeBeats"
Does it say: computeBeats: POSIX shell script, ASCII text executable
I want to make sure it doesn't mention CRLF line terminators which you could get if unzipped on Windows
Next, do the top three lines look like:
#!/bin/sh
# \
exec oagtclsh "$0" "$@"
If I remove the second line, then I get the same error you have.
Finally, try running it by including oagtclsh on the command line:
oagtclsh computeBeats
Does it say: computeBeats: POSIX shell script, ASCII text executable
I want to make sure it doesn't mention CRLF line terminators which you could get if unzipped on Windows
Next, do the top three lines look like:
#!/bin/sh
# \
exec oagtclsh "$0" "$@"
If I remove the second line, then I get the same error you have.
Finally, try running it by including oagtclsh on the command line:
oagtclsh computeBeats