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

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)


The SasView_onion McStas Component

13.63  The SasView_onion McStas Component

SasView onion model component as sample description.

Identification

  • Author: Jose Robledo

  • Origin: FZJ / DTU / ESS DMSC

  • Date:

Description

SasView_onion component, generated from onion.c in sasmodels.

Example: SasView_onion(sld_core, radius_core, sld_solvent, n_shells, sld_in[n_shells], sld_out[n_shells], thickness[n_shells], A[n_shells], 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_core=0.0, pd_thickness[n_shells]=0.0)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

Links

  • Component source code found in file SasView_onion.comp.


Last Modified: Tuesday, 06-Oct-2026 21:19:10 CEST
Search website mailinglist archive GitHub repos