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_Lens_CRL_RTM

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

The Test_Lens_CRL_RTM Instrument

Test of the analytic (fast=1) and per-lenslet (fast=0) absorption in Lens_CRL_RTM

Identification

  • Site: Tests_optics
  • Author: E. farhi
  • Origin: McXtrace
  • Date: Nov 2026

Description

A source with a spread in both position and angle illuminates a Be CRL stack.
The ray trajectories do not depend on 'fast', so with the same seed and
number of rays both modes must give the same intensity. The low energy and the
wide beam make the absorption depend strongly on y and on the angle, so an
error in any term of the analytic sum shows up as a difference.

Examples

(Test cases in bold)
  • Test: fast=1 N=20 E0=8 Detector: det_I=0.34115
  • Test: fast=0 N=20 E0=8 Detector: det_I=0.34115

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
fast1Lens_CRL_RTM absorption mode: 1 analytic, 0 sum over lenslets.1
N1Number of lenslets.20
E0keVPhoton energy.8

Links


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

Generated for mcxtrace 3.10.4


Last Modified: Fri Nov 27 20:05:00 2026
Search website mailinglist archive GitHub repos