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_radius Instrument at Tools

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

The MCPL_filter_radius Instrument

Filtering-by-radius 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 radius of 2.5 m from the origin
mcrun MCPL_filter_radius MCPLfile=my.mcpl.gz radius=2.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"
radius m Defines a threshold distance to split the MCPLfile at 2.5


[ 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