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)


The SAXSCurve McXtrace Component

12.13  The SAXSCurve McXtrace Component

A component mimicking the scattering from a given I(q)-curve by using linear interpolation between the given points.

Identification

  • Author: Martin Cramer Pedersen (mcpe@nbi.dk)

  • Origin: KU-Science

  • Date: May 2, 2012

Description

A box-shaped component simulating the scattering from any given I(q)-curve. The component uses linear interpolation to generate the points necessary to compute the scattering of any given photon.

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

DeltaRho

cm/Å\(^{3}\)

Excess scattering length density of the particles.

1.0e-14

Volume

Å\(^{3}\)

Volume of the particles.

10000.0

Concentration

mM

Concentration of sample.

0.01

AbsorptionCrosssection

1/m

Absorption cross section of the sample.

0.0

xwidth

m

Dimension of component in the x-direction.

yheight

m

Dimension of component in the y-direction.

zdepth

m

Dimension of component in the z-direction.

SampleToDetectorDistance

m

Distance from sample to detector (for focusing the scattered x-rays).

DetectorRadius

m

Radius of the detector (for focusing the scattered x-rays).

FileWithCurve

str

Datafile with the given I(q).

”Curve.dat”

Links

  • Component source code found in file SAXSCurve.comp.


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