McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: SasView_rectangular_prism_aniso

[ Identification | Description | Input parameters | Links ]

The SasView_rectangular_prism_aniso Component

SasView rectangular_prism model component as sample description.

Identification

  • Site:
  • Author: Jose Robledo
  • Origin: FZJ / DTU / ESS DMSC
  • Date:

Description

SasView_rectangular_prism component, generated from rectangular_prism.c in sasmodels.

Example:
SasView_rectangular_prism_aniso(sld, sld_solvent, length_a, b2a_ratio, c2a_ratio, theta, phi, Psi,
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_length_a=0.0, pd_theta=0.0, pd_phi=0.0, pd_Psi=0.0)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
sld1e-6/Ang^2([-inf, inf]) Parallelepiped scattering length density.6.3
sld_solvent1e-6/Ang^2([-inf, inf]) Solvent scattering length density.1
length_aAng([0, inf]) Shorter side of the parallelepiped.35
b2a_ratio([0, inf]) Ratio sides b/a.1
c2a_ratio([0, inf]) Ratio sides c/a.1
theta0
phi0
Psi0
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
xwidthm([-inf, inf]) Horiz. dimension of sample, as a width.0.01
yheightm([-inf, inf]) vert . dimension of sample, as a height for cylinder/box0.01
zdepthm([-inf, inf]) depth of sample0.005
RmOuter radius of sample in (x,z) plane for cylinder/sphere.0
target_xmrelative focus target position.0
target_ymrelative focus target position.0
target_zmrelative focus target position.1
target_index Relative index of component to focus at, e.g. next is +1.1
focus_xwmhoriz. dimension of a rectangular area.0.5
focus_yhm, vert. dimension of a rectangular area.0.5
focus_awdeg, horiz. angular dimension of a rectangular area.0
focus_ahdeg, vert. angular dimension of a rectangular area.0
focus_rmcase of circular focusing, focusing radius.0
pd_length_a(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
pd_Psi(0,360) defined as (dx/x), where x is de mean value and dx the standard devition of the variable0.0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links

  • Source code for SasView_rectangular_prism_aniso.comp.

[ Identification | Description | Input parameters | Links ]

Generated on 2023-09-19 20:01:36


Last Modified: Thursday, 16-May-2024 15:56:13 CEST
Search website mailinglist archive GitHub repos