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

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

McStas: MCPL_filter_energy Instrument at Tools

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

The MCPL_filter_energy Instrument

Filtering-by-energy 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 an energy of 0.5 meV
mcrun MCPL_filter_energy MCPLfile=my.mcpl.gz energy=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"
energy meV Defines a threshold energy to split the MCPLfile at 40
max meV Maximum energy in Monitor_nD plots 100
min meV Minimum energy 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 <> / Wed Jan 12 15:13:21 2022

Last Modified: Wednesday, 12-Jan-2022 16:13:21 CET
Search website mailinglist archive GitHub repos