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: Focus

[ Identification | Description | Input parameters | Links ]

The Focus Component

Release: McXtrace 1.1 Turn a photon into a Huygens wavelet. To be used with the SPLIT keyword.

Identification

  • Author: Carsten Detlefs, hacked from slit.comp
  • Origin: ESRF
  • Date: November 6, 2013

Description

Changes direction of the photon to a random direction
towards the specified target area.
To be used in coherent simulations, preferably with
the SPLIT keyword.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
distmdistance to target0.0
focus_xwmx-width of target0.0
focus_yhmy-height of target0.0
focus_x0mx-center of target0.0
focus_y0my-center of target0.0
focus_absolute Flag - if non-zero, focus_x0 and focus_y0 are in absolute (lab) coordinates.1
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


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

Generated on mcxtrace 3.10.2


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