[mcstas-users] divergence monitor output
Zhang, SY (Shu Yan)
shu-yan.zhang at stfc.ac.uk
Mon Jul 6 13:56:39 CEST 2009
Dear Emmanuel
Thank you very much for the information. Regarding the divergence output
dX and dY, are they the full width half maximum or the c value in the
Gaussian function?
Many thanks for your reply!!
Shu
-----Original Message-----
From: Emmanuel FARHI [mailto:farhi at ill.fr]
Sent: 03 July 2009 20:23
To: McStas users list at mcstas.org
Subject: Re: [mcstas-users] divergence monitor output
Hello Shu,
Any divergence monitor such as the Divergence_monitor() or the
Monitor_nD(options="hdiv vdiv, all auto") will indeed produce a
divergence
map.
Then the output files have lines:
value: I I_err N
statistics: X0 dX Y0 dY
where
I, I_err and N: are the values of the intensity (usually integrated
flux),
the error bar on this value, and the number of statistical MC events
recorded on the detector (which is not the flux, but a non physical
event
count, only for computational purpose).
X0 dX Y0 dY: are the center (mean value, 1st moment) and second moment
(gaussian width) of the distributions. In your case, dX and dY will give
you a gaussian width of the H and V divergence. X0 and Y0 should in
principle be around zero if the monitor is well oriented.
just do
>> eval(mc_divmon_dat.statistics); [ dX dY ]
Emmanuel.
> Dear all
>
> I have question about the results from the Divergence_monitor
> Component.
> I want to find out the beam divergence. Is this the right monitor to
> use? If it is, which value in the output file shall I use as the
> maximum
> divergence? What do these values X0, dX, Y0 and dY from
> "mc_divmon_dat.statistics" mean? What are the meaning for the values
> from "mc_divmon_dat.values"?
>
> Best regards,
> Shu
>
>
>
> --
> Scanned by iCritical.
>
> _______________________________________________
> mcstas-users mailing list
> mcstas-users at mcstas.org
> http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users
>
--
FARHI Emmanuel <farhi at ill.fr>
Groupe DS/CS, ILL4/156, Tel 04 76 20 71 35
ILL, Grenoble
_______________________________________________
mcstas-users mailing list
mcstas-users at mcstas.org
http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users
--
Scanned by iCritical.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20090706/8500eb26/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 2254 bytes
Desc: image003.jpg
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20090706/8500eb26/attachment.jpg>
More information about the mcstas-users
mailing list