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


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 McStas manual
 Known problems



Links <- UPDATED!

Report bugs


McStas: ESS_BEER_MCPL Instrument at ESS

[ Identification | Description | Input parameters | Output parameters | Links ]

The ESS_BEER_MCPL Instrument

ToF Diffractometer BEER@ESS with MCPL input at the sample slit.


  • Site: ESS
  • Author: Jan Saroun,
  • Origin: NPI Rez
  • Date: June 2017
  • Version: 1.1, 27/11/2018


Secondary part of the ToF diffractometer BEER@ESS. It takes MCPL file at the input as the source 
of primary beam in front of the sample.
1) xy, divergence, lambda and ToF_lambda plots of the primary beam (monitors the MCPL content)
2) projections of the sampling volume defined by the primary slit and secondary radial collimator  
3) Intensity vs. dhkl plot, using NPI_tof_dhkl_detector.comp
4) 2D plot (ToF,2theta),  using NPI_tof_theta_monitor
Modulation mode: 
If modul=1, a modulation mode of BEER is assumed: the primary beam is modulated by a chopper placed close to the source.
(set the lc distance appropriately). The NPI_tof_dhkl_detector.comp then performs data reduction in event mode, using 
the given modulation parameters: lam0, mod_frq, mod_twidth and a table with primary dhkl estimates (dhkl.dat should be 
in the current directory). As a result, the diffractogram with recombined peaks is produced, together with a 2D map 
of estimated valid, empty and overlap regions on the ToF-2theta diagram. 

If module=0, modulation parameters are ignored and the NPI_tof_dhkl_detector.comp performs a standard event based 
data reduction producing a diffractogram on the basis of given nominal values of lam0 and distances.

(See NPI_tof_dhkl_detector.comp for more details)

NOTE: some instrument parameters are hard coded and have to be edited in the INITIALIZE and RUN sections.

To use, please copy the relevant mcpl files from your $MCSTAS/data folder to the curring working folder

Example 1: 
 Simulation in medium resolution mode with pulse shaping choppers, wavelength range centred at 2 AA - use:
 ESS_BEER_MCPL input=BEER_MR.mcpl repetition=50 pwdfile=duplex.laz lc=6.65 lam0=2 dlam=1.8 omega=45 chi=90 colw=1 modul=0 mod_frq=2240 mod_twidth=0.0029 mod_shift=0 only_event=-1 pinc=0.1 ptra=0 strain=0 ustrain=0 
 Detector: psdtof_I=276.842

Example 2: 
 Simulation in the modulation mode, using the modulation chopper MCB with 8 slits (4 deg wide) rotating at 280 Hz. Wavelength range centred at 2 AA - use:
 ESS_BEER_MCPL input=BEER_MCB.mcpl repetition=50 pwdfile=duplex.laz lc=9.35 lam0=2 dlam=1.8 omega=45 chi=90 colw=1 modul=1 mod_frq=2240 mod_twidth=0.0029 mod_shift=0 only_event=-1 pinc=0.1 ptra=0 strain=0 ustrain=0 
 Detector: psdtof_I=98.3885

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
input str Input MCPL file "BEER_MR.mcpl"
repetition 1 Number of loops through the MCPL file 50
pwdfile str Input sample file for PowderN.comp "duplex.laz"
lc m distance of the pulse definition chopper 6.65
lam0 centre of the frame, determines the chopper phase [AA] nominal wavelength 2.0
dlam only for filtering MCPL input and plot ranges [AA] wavelength band width 1.8
omega y-axis [deg] sample orientation 45
chi z-axis [deg] sample orientation 90
colw 0.5, 1, 2, 3 or 4 [mm] collimator width 1
modul 0|1 modulation mode switch 0
mod_frq chopper frequency x number of slits [Hz] modulation frequency 2240
mod_twidth should be ~> ESS pulse width [s] modulation frame width 0.0029
mod_shift modulation mode only [] assumed line shift introduced to NPI_tof_dhkl_detector 0
only_event 1 if > -1, filters out events with line_info.itype<>only_event after PowderN sample -1
pinc pinc value passed to PowderN.comp 0.1
ptra p_transmit value passed to PowderN.comp 0.0
strain peak shift [ppm] Macro-strain 0
ustrain peak broadening [ppm] Micro-strain 0


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <> / Fri Jan 18 10:06:10 2019

Last Modified: Friday, 18-Jan-2019 11:06:10 CET
Search website mailinglist archive GitHub repos