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)


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, 05-Oct-2026 10:48:07 CEST
Search website mailinglist archive GitHub repos