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 E_onitor McXtrace Component

8.2  The E_monitor McXtrace Component

Release: McXtrace 0.1

Energy-sensitive monitor.

Identification

  • Author: Erik Knudsen

  • Origin: Risoe

  • Date: June 22, 2009

Description

A square single monitor that measures the energy of the incoming x-rays.

Example: E_monitor(xwidth=0.1, yheight=0.1, Emin=1, Emax=50, nE=20, filename=”Output.nrj”)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

nE

m

Number of energy 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

Emin

keV

Minimum energy to detect.

Emax

keV

Maximum energy to detect.

restore_xray

0/1

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

0

Links

  • Component source code found in file E_monitor.comp.

The energy-sensitive monitor

The component E_monitor is sensitive to the xray energy, which in binned in nE bins between \(E_\mathrm {min}\) and \(E_\mathrm {max}\) (in keV).

The output parameters from E_monitor are the total counts, and a file with 1-dimensional data vs. \(E\), similar to TOF_monitor.


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