McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics

McXtrace

Project Status
 Project Partners
 Project People
 Goal

Installation
 Mac OSX Installation
 Windows Installation

Mailing List

Links

Publications

Minutes of Meetings

McXtrace Art

About McXtrace

Documentation
 Commands
 Tutorial

Download
 Components

Search


McXtrace: Source_gaussian Component

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

The Source_gaussian Component

Gaussian cross-section source

Identification

  • Author: Jana Baltser & Erik Knudsen
  • Origin: NBI
  • Date: April, 2011.
  • Version: 1.0

Description

A simple source model emitting photons from a gaussian distribution in the X-Y plane with the specified
standard deviations (in mm). A square target centered on the beam (Z-axis)
 restricts the beam to that aperture.
Further, the beam is restricted to emit photons between E0+-dE keV, or lambda0+-dlambda, whichever is given.
Flux is given in the unit 

Example: Source_gaussian(sig_x=10e-6,sig_y=10e-6,dist=15,sigPr_x=9e-6, sigPr_y=9e-6,E0=sensible, dE=sensible)
 

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
spectrum_file NULL
sig_x m Horizontal source size 1
sig_y m Vertical source size 0
sigPr_x rad Angular horizontal divergence 0
sigPr_y rad Angular vertical divergence 0
flux 1
brilliance 0
dist m Distance from source plane to sampling window. 1
gauss 0
focus_xw m Width of sampling window dist m downstream from source to allow focused sampling. 0
focus_yh m Height of sampling window dist m downstream from source to allow focused sampling. 0
E0 keV Center of emitted energy spectrum (overrides spectrum_file) 0
dE kev Half-width of emitted energy spectrum 0
lambda0 AA Centre of emitted wavelength spectrum 0
dlambda AA Half-width of emitted wavelength spectrum -1
phase -1

Output parameters

Name Unit Description Default
prms  
spX - =sqrt(sig_x*sig_x+sigPr_x*sigPr_x*dist*dist); spY=sqrt(sig_y*sig_y+sigPr_y*sigPr_y*dist*dist);  
spY  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Mon Jun 26 12:36:38 2017


Last Modified: Monday, 26-Jun-2017 14:36:38 CEST
Search website mailinglist archive SVN repos McCode Trac