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



Links <- UPDATED!

Report bugs


McStas: MCPL_filter_wavelength Instrument at Tools

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

The MCPL_filter_wavelength Instrument

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


  • Site: Tools
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: 2019-03
  • Version:(Unknown)


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

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"
wavelength AA Defines a threshold wavelength to split the MCPLfile at 0.5
max AA Maximum wavelength in Monitor_nD plots 20
min AA Minimum wavelength in Monitor_nD plots 0
bins 1 Number of bins in Monitor_nD plots 100


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

Generated automatically by McDoc, Peter Willendrup <> / Fri May 7 10:17:14 2021

Last Modified: Friday, 07-May-2021 12:17:14 CEST
Search website mailinglist archive GitHub repos