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

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tools
 Tutorial

Workshops/conferences

Developments

Links

Report bugs

Git

McStas Ubuntu live-dvd


McStas: MCPL2hist Instrument at Tools

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

The MCPL2hist Instrument

Flexible histogramming instrument file for processing MCPL input files using Monitor_nD

Identification

  • Site: Tools
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: 2017-04
  • Version:(Unknown)

Description

Flexible histogramming instrument file for processing MCPL input files using Monitor_nD.

Example1: Multiple 1D histograms of position, velocity, divergence, time and wavelength, use
NDoptions=1 defines options="previous, multiple, auto, x, y, z, vx, vy, vz, hdiv, vdiv, tof, lambda"

Example2: 2D x-y plot of beam cross section:
NDoptions=2 defines options="previous, auto, x, y"

Example3: 2D TOF-lambda plot of beam:
NDoptions=3 defines options="previous, auto, tof, lambda"

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
MCPLfile str Defines the MCPL input file to process "my.mcpl.gz"
NDoptions int Defines what Monitor_nD measures, see example list 1

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Mon May 22 14:59:10 2017


Last Modified: Monday, 22-May-2017 16:59:10 CEST
Search website mailinglist archive GitHub repos