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 SANSPDBFast McStas Component

14.86  The SANSPDBFast McStas Component

A sample describing a thin solution of proteins using linear interpolation to increase computational speed. This components must be compiled with the -lgsl and -lgslcblas flags (and possibly linked to the appropriate libraries).

Identification

  • Author: Martin Cramer Pedersen (mcpe@nbi.dk) and Søren Kynde (kynde@nbi.dk)

  • Origin: KU-Science

  • Date: October 17, 2012

Description

This components expands the formfactor amplitude of the protein on spherical harmonics and computes the scattering profile using these. The expansion is done on amino-acid level and does not take hydration layer into account. The component must have a valid .pdb-file as an argument.

This is fast implementation of the SANSPDB sample component.

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

RhoSolvent

Å

Scattering length density of the buffer - default is 100% D2O.

9.4e-14

Concentration

mM

Concentration of sample.

0.01

AbsorptionCrosssection

1/m

Absorption cross section of the sample.

0.0

xwidth

m

Dimension of component in the x-direction.

yheight

m

Dimension of component in the y-direction.

zdepth

m

Dimension of component in the z-direction.

SampleToDetectorDistance

m

Distance from sample to detector (for focusing the scattered neutrons).

DetectorRadius

m

Radius of the detector (for focusing the scattered neutrons).

qMin

Å\(^{-1}\)

Lowest q-value, for which a point is generated in the scattering profile

0.001

qMax

Å\(^{-1}\)

Highest q-value, for which a point is generated in the scattering profile

0.5

NumberOfQBins

Number of points generated in inital scattering profile.

200

PDBFilepath

Path to the file describing the high resolution structure of the protein.

"PDBfile.pdb"

Links

  • Component source code found in file SANSPDBFast.comp.


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