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

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


McXtrace: Source_extended

[ Identification | Description | Input parameters | Links ]

The Source_extended Component

A plane source emitting x-rays to emulate a distant extended source, such as a nebula or galaxy

Identification

  • Site:
  • Author: Arne 'S Jegers
  • Origin: Technical University of Denmark
  • Date: May 6, 2019

Description

A rectangular x-ray source that samples ray intensity from an image, and
deflects the emitted ray to reflect having been emitted from the sampled part
of the extended source. Rays that are sampled from the same point on the image
are collimated, but can be emitted from anywhere on the rectangular source.
The image should be provided as a 2D-ascii table, whose header includes the
following entries:

w_pixels and h_pixels: The width and height of the image in pixels
x_ref and y_ref: x and y reference values of the FITS image
r_max: The maximum distance from the point (x_ref, y_ref) to any corner of the image
iCD11, iCD12, iCD21 and iCD22: The values of the FITS image's CD matrix

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
spectrum_fileNULL
yheight0
xwidth0
dist0
E0keVMean energy of xrays.0
dEkeVEnergy half spread of x-rays (flat or gaussian sigma).0
lambda0AAMean wavelength of x-rays.0
dlambdaAAWavelength half spread of x-rays.0
fluxpht/stotal flux radiated from the source0
gauss1Gaussian (1) or Flat (0) energy/wavelength distribution0
incoherentSource is fully incoherent1
phaseSet phase to something given.0
image_pathstringPath to file containing the heat map of the source""
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2023-12-19 19:37:45


Last Modified: Tuesday, 13-Feb-2024 16:50:14 CET
Search website mailinglist archive GitHub repos