McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


The E_4PI McStas Component

14.98  The E_4PI McStas Component

Spherical Energy-sensitive detector

Identification

  • Author: Duc Le

  • Origin: ISIS

  • Date: 2000s

Description

Example: E_4PI(filename="e4pi.dat",ne=200,Emin=0,Emax=E*2)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

ne

1

Number of energy bins

50

Emin

meV

Minimum energy measured

0

Emax

meV

Maximum energy measured

5

filename

string

Name of file in which to store the output data

0

radius

m

Radius of detector (m)

1

restore_neutron

1

If set, the monitor does not influence the neutron state

0

Links

  • Component source code found in file E_4PI.comp.

  • <A HREF="http://neutron.risoe.dk/mcstas/components/tests/powder/">Test

  • results</A> (not up-to-date).


Last Modified: Tuesday, 06-Oct-2026 21:19:10 CEST
Search website mailinglist archive GitHub repos