McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Mailing list

Search

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Links

Report bugs (GitHub)

Code-repository (GitHub)


McXtrace: Test_RNG_randnorm

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

The Test_RNG_randnorm Instrument

Instrument to get basic test output from random number generator.

Identification

  • Site: Tests_RNG
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: Oct 2nd, 2020

Description

Instrument to get basic test output from random number generator.

The instrument generates 2 randon numbers pr. particle using randpm1(),
encoded into the particle x and y coordinates.

For a low statistics, one may e.g. check that setting the seed gives
varied output or fixing the seed gives fixed outputĀ·

Examples

(Test cases in bold)
  • Test: Ncount=20000000 Detector: PSD_I=0.999999999

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
Ncount1Specify statistics1000000
seed1Specify RNG seed0

Links


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

Generated for mcxtrace 3.10.2


Last Modified: Monday, 02-Nov-2026 21:43:07 CET
Search website mailinglist archive GitHub repos