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

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


The L_onitor McXtrace Component

8.3  The L_monitor McXtrace Component

Release: McXtrace 0.1

Wavelength-sensitive monitor.

Identification

  • Author: Kristian Nielsen and Kim Lefmann

  • Origin: Risoe

  • Date: June 22, 2009

Description

A square single monitor that measures the wavelength of the incoming xray.

Example: L_monitor(xmin=-0.1, xwidth=0.1, yheight=0.1, nL=20, filename=”Output.L”, Lmin=0.1, Lmax=1)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

nL

m

Number of wavelength channels.

20

filename

str

Name of file in which to store the detector image.

0

xwidth

m

Width of detector.

0.1

yheight

m

Height of detector.

0.1

Lmin

Å

Minimum wavelength to detect.

Lmax

Å

Maximum wavelength to detect.

restore_xray

If set, the monitor does not influence the x-ray state.

0

Links

  • Component source code found in file L_monitor.comp.

The wavelength sensitive monitor

The component L_monitor is very similar to E_monitor. This component is just sensitive to the xray wavelength. The wavelength spectrum is output in a one-dimensional histogram. between \(\lambda _\mathrm {min}\) and \(\lambda _\mathrm {max}\) (measured in Å).

As for the two other 1-dimensional monitors, this component outputs the total counts and a file with the histogram.


Last Modified: Monday, 05-Oct-2026 10:48:08 CEST
Search website mailinglist archive GitHub repos