Asymmetrical flat cone beam

Hello Ihor,

you have two options to do that:

  1. using a source routine, you can set all properties of the beam particles. See some of these relevant forum posts: link1, and link2 (for the older source routine).

  2. if you would rather not use the source routine, you can use the SPOTBEAM to create a beam spots with more fine-grained properties than you would in a BEAM card, including different divergences in x and y. You then have to use a SPECSOUR card to indicate that you have a single BEAMSPOT, and it will act like a normal beam. Finally, to give it the position spread, use the SPOTPOS card. NOTE: there are a couple of things in the beam spot card that are being fixed and will be available in an upcoming release. In particular:

  3. X and Y divergences are flipped, so you put in the X spread in the Y divergence and vice versa

  4. You cannot specify a 0 divergence for one but not the other axes. An easy workaround is to simply specify an extremely small divergence (e.g. 10^{-10} ) for the dimension that is not diverging.

So, for now, considering these two pieces of information, you should set

div_x = 523.6 (mrad)
div_y = 1e-10

and the other properties should be easy to fill in with your numbers.

Hope this helps,

Stefano

1 Like