McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics


 Linux Installation (deb/rpm)
 Mac OSX Installation
 Unix Install (src code)
 Windows Installation

Project Status
 Project Partners
 Project People

Mailing list



Minutes of Meetings

McXtrace Art

About McXtrace



McXtrace: Focus Component

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

The Focus Component

Turn a photon into a Huygens wavelet. To be used with the SPLIT keyword.


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


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.
Name Unit Description Default
dist m : distance to target 0.0
focus_xw m : x-width of target 0.0
focus_yh m : y-height of target 0.0
focus_x0 m : x-center of target 0.0
focus_y0 m : y-center of target 0.0
focus_absolute : Flag - if non-zero, focus_x0 and focus_y0 are in absolute (lab) coordinates. 1


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

Generated automatically by McDoc, Peter Willendrup <> / Tue Nov 26 12:17:24 2019

Last Modified: Tuesday, 26-Nov-2019 13:17:24 CET
Search website mailinglist archive SVN repos McCode Trac