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 SasView_apped_ylinder_niso McXtrace Component

11.10  The SasView_capped_cylinder_aniso McXtrace Component

SasView capped_cylinder model component as sample description.

Identification

  • Author: Jose Robledo

  • Origin: FZJ / DTU / ESS DMSC

  • Date:

Description

SasView_capped_cylinder component, generated from capped_cylinder.c in sasmodels.

Example: SasView_capped_cylinder_aniso(sld, sld_solvent, radius, radius_cap, length, theta, Phi, model_scale=1.0, model_abs=0.0, xwidth=0.01, yheight=0.01, zdepth=0.005, R=0, int target_index=1, target_x=0, target_y=0, target_z=1, focus_xw=0.5, focus_yh=0.5, focus_aw=0, focus_ah=0, focus_r=0, pd_radius=0.0, pd_radius_cap=0.0, pd_length=0.0, pd_theta=0.0, pd_Phi=0.0)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

sld

1e-6/Å\(^{2}\)

([-inf, inf]) Cylinder scattering length density.

4

sld_solvent

1e-6/Å\(^{2}\)

([-inf, inf]) Solvent scattering length density.

1

radius

Å

([0, inf]) Cylinder radius.

20

radius_cap

Å

([0, inf]) Cap radius.

20

length

Å

([0, inf]) Cylinder length. Optional parameters:

400

theta

60

Phi

60

model_scale

Global scale factor for scattering kernel. For systems without inter-particle interference, the form factors can be related to the scattering intensity by the particle volume fraction.

1.0

model_abs

Absorption cross section density at 2200 m/s.

0.0

xwidth

m

([-inf, inf]) Horiz. dimension of sample, as a width.

0.01

yheight

m

([-inf, inf]) vert . dimension of sample, as a height for cylinder/box

0.01

zdepth

m

([-inf, inf]) depth of sample

0.005

R

m

Outer radius of sample in (x,z) plane for cylinder/sphere.

0

target_x

m

relative focus target position.

0

target_y

m

relative focus target position.

0

target_z

m

relative focus target position.

1

target_index

Relative index of component to focus at, e.g. next is +1.

1

focus_xw

m

horiz. dimension of a rectangular area.

0.5

focus_yh

m

, vert. dimension of a rectangular area.

0.5

focus_aw

deg

, horiz. angular dimension of a rectangular area.

0

focus_ah

deg

, vert. angular dimension of a rectangular area.

0

focus_r

m

case of circular focusing, focusing radius.

0

pd_radius

(0,inf) defined as (dx/x), where x is de mean value and dx the standard devition of the variable.

0.0

pd_radius_cap

(0,inf) defined as (dx/x), where x is de mean value and dx the standard devition of the variable.

0.0

pd_length

(0,inf) defined as (dx/x), where x is de mean value and dx the standard devition of the variable.

0.0

pd_theta

(0,360) defined as (dx/x), where x is de mean value and dx the standard devition of the variable.

0.0

pd_Phi

(0,360) defined as (dx/x), where x is de mean value and dx the standard devition of the variable

0.0

Links

  • Component source code found in file SasView_capped_cylinder_aniso.comp.


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