Page 1 of 1

Benchlength at the position of every element

Posted: 30 Jun 2010, 05:12
by CCH
Hello,
Can you tell me how to get the bunchlength as a function of s when I do a tracking?

------------cch

Re: Benchlength at the position of every element

Posted: 30 Jun 2010, 08:19
by michael_borland
If you are tracking for one pass (e.g., a linac, transport line, or a single turn in a ring), you can use the "sigma" output file from &run_setup. The "Ss" column is the bunch length, provided your beam is relativistic. See http://www.aps.anl.gov/Accelerator_Syst ... ode14.html

If you want the equilibrium bunch length in a ring, use the &moments_output command.

--Michael

Re: Benchlength at the position of every element

Posted: 06 Dec 2012, 12:01
by jpuntree
Hello Michael,

Could you give more details how to get use of the &moments_output command in order to get equilibrium bunchlength as a function of s.
And what will 'Ss' means if I use it in a storage ring tracking?

Many thanks in advanced
Jatuporn

Re: Benchlength at the position of every element

Posted: 07 Dec 2012, 13:15
by michael_borland
Jatuporn,

You can find an examle of using moments_output for a storage ring in the examples file, under PAR/moments. The relevant column in the output file is "s5".

Unless you set up the bunched_beam correctly (with the equilibrium beam properties as the inputs), "Ss" from the &run_setup sigma file probably won't be useful. However, if you set the beam up properly, it should give the same result as "s5" from moments output.

--Michael