McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics



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 <> / Mon Aug 16 15:54:47 2021

Last Modified: Monday, 16-Aug-2021 17:54:47 CEST
Search website mailinglist archive SVN repos McCode Trac