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

11.63  The SasView_onion McXtrace 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: Monday, 02-Nov-2026 22:21:08 CET
Search website mailinglist archive GitHub repos