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)


McXtrace: Template_SasView

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

The Template_SasView Instrument

Test instrument for the SasView_model component. No optics. etc.

Identification

  • Site: Tests_samples
  • Author: Torben Nielsen
  • Origin: DTU Physics / ESS DMSC
  • Date: Jan 2017.

Description

Very simple test instrument for 3 examples from the suite of SasView_ components.
Select sample model with 'model_index':
1= SasView_barbell
3= SasView_bcc_paracrystal
47= SasView_parallelepiped

Examples

(Test cases in bold)
  • Test: model_index=1 Ncount=1e5 par1=4 par2=1 par3=40 par4=20 par5=400 Detector: detector_I=605
  • Test: model_index=3 Ncount=1e5 par1=220 par2=0.06 par3=40 par4=4 par5=1 Detector: detector_I=4.2
  • Test: model_index=47 Ncount=1e5 par1=4 par2=2 par3=35 par4=75 par5=400 Detector: detector_I=297

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
lambdaAAMean wavelength of X-rays1.54
dlambdaAAWavelength spread of X-rays0.05
model_index SASmodels model index (see SasView_model.comp mcdoc page)10
par1 Slot 1 in SASmodel parameter vector0
par2 Slot 2 in SASmodel parameter vector0
par3 Slot 3 in SASmodel parameter vector0
par4 Slot 4 in SASmodel parameter vector0
par5 Slot 5 in SASmodel parameter vector0
par6 Slot 6 in SASmodel parameter vector0
par7 Slot 7 in SASmodel parameter vector0
par8 Slot 8 in SASmodel parameter vector0
Ncount1Override the number of rays to simulate.0

Links


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

Generated for mcxtrace 3.10.2


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