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

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)



McStas: MCPL_filter_wavelength

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

The MCPL_filter_wavelength Instrument

Filtering-by-wavelength instrument file for processing MCPL input files

Identification

  • Site: Tools
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: 2019-03

Description

Example: Split an MCPL file at a wavelength of 0.5 AA
mcrun MCPL_filter_wavelength MCPLfile=my.mcpl.gz wavelength=0.5

Examples

(Test cases in bold)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
MCPLfilestrDefines the MCPL input file to process"my.mcpl.gz"
wavelengthAADefines a threshold wavelength to split the MCPLfile at0.5
maxAAMaximum wavelength in Monitor_nD plots20
minAAMinimum wavelength in Monitor_nD plots0
bins1Number of bins in Monitor_nD plots100

Links


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

Generated for mcstas 3.10.2


Last Modified: Tue Nov 3 18:52:15 2026
Search website mailinglist archive GitHub repos