IN6 monochromator

Kristian Nielsen kristian.nielsen at risoe.dk
Fri Mar 3 12:58:05 CET 2000


> Date: Thu, 02 Mar 2000 17:56:58 +0100
> From: Markus Poehlmann <poehlman at ill.fr>

> So what we would need is a M o n t e C a r l o choice between scattering
> and unscattered propagation. Could you please tell us how it would be

This is exactly what the Mosaic_anisotropic component does. It computes
the scattering probability for the given incoming neutron and makes a
Monte Carlo choice between scattering or transmitting with this
probability. See the manual for McStas v1.2 page 59.

I think an example may be appropriate. I have written a simple
instrument with three monochromators in a neutron beam, each one
focusing at a different angle (88, 90, and 92 degrees) onto a
detector. See

    http://neutron.risoe.dk/mcstas/support/poehlman/mono_test.html

I hope this will get you started, otherwise just ask again, or phone me
on the number below.

> problem? What e.g. does randnorm() exactly do?

It returns a random number from a normal distribution with mean zero and
std. deviation 1. See manual page 82.

 - Kristian.

--
Kristian Nielsen        kristian.nielsen at risoe.dk
Risø National Laboratory
Condensed Matter Physics and Chemistry Department
Tel. +45 4677 5515   Fax +45 4677 4790
Encryption PGP key http://neutron.risoe.dk/kn.txt






More information about the mcstas-users mailing list