Page 1 of 1

Multi-slit collimator inside an alpha-magnet

Posted: 16 Jun 2015, 17:11
by alexei_sav
Dear Michael,

is it possible to simulate an alpha-magnet with a multi-slit scraper using, e.g, a set of RCOL elements placed between the two virtual halves of the alpha-magnet...

Thank you very much,

Alexei

Re: Multi-slit collimator inside an alpha-magnet

Posted: 17 Jun 2015, 08:21
by michael_borland
Alexei,

The best way to do this is using the SCRIPT element, which will allow putting an arbitrary filter between the halves of an alpha magnet:

Code: Select all

a1: alph,xmax=0.09,part=1
filter: script,command="filterScript %i %o"
a2: alph,xmax=0.09,part=2
bl: line=(a1,filter,a2)
An example that might help is attached.

--Michael