BornAgain
≻
git-main
≻
Documentation
≻ Script examples
Commented Python script examples
Simulation
Instrument
Sample
Fitting
Plot and export
Introduction
Functionality overview
Architectural overview
Install or build
Install Python
Python on Linux
Python on Windows
Python on Mac
Python modules
Install BornAgain
Linux
Windows
MacOS
Build BornAgain
Unix
Install third-party software
Get the source
Build and install BornAgain
Run a first simulation
Windows
Graphical user interface
Quick Start
GUI overview
Fitting in the GUI
Python scripting
Run a script
Understand the syntax
Fitting
Script examples
Simulation
Specular
Off-specular
Scattering in 2d
GISAS
without DWBA terms
with specular peak
SAS
Polarized SANS
Monte-Carlo
Depth probe
Thin film
Transmitted modulus
Resonator
Instrument
2D detector resolution
Neutron polarization
Magnetic layer
Ditto, realistic instrument
Polarized scattering
Sample
Roughness
Reflectivity, default model
Different roughness models
Scattering
Particles
Compound particle
Core and shell
Crossing an interface
Rotation example
Dense cylinders
Dense hemispheres
Uncorrelated mixture
Polydispersity
Assemblies
Lattice orientation distribution
Fitting
Fitting with masks
Custom objective function
Fitting along slices
GISAS 2D fits
Experiment at GALAXI
Find background
Minimizer settings
Bayesian Sampling
Consecutive fitting
Considering uncertainties
External minimizer
External minimizer: plotting
Simultaneous fit of two datasets
Spin asymmetry fit example
Reflectometry: Fit Pt layer
Reflectometry: Fit honeycomb
Plot and export
Plotting with axes in different units
SLD profile
SLD profile with rough interfaces
SLD profile with a sliced particle layer
Find intensity peaks
Reference
Simulation model
Simulation classes
Specular
Scattering
Off-specular
Depth probe
Common settings
Background
Options
Monte-Carlo
# threads
Average materials
Include specular
Progress monitor
Instrument model
Beam
Footprint
Beam divergence
Beam Angular Spread
Beam Wavelength Spread
Scan
TOF reflectometry
TOF resolution
Detectors
Detector2D
2d detector resolution
Offspec detector
Neutron polarization
Spin asymmetry example
Sample model
Materials
Magnetization
Sample
Layer
Layout
Rough interfaces
Particles
Form factor
Hard particles
Bipyramid4
Box
CantellatedCube
Cone
Cylinder
Dodecahedron
EllipsoidalCylinder
HemiEllipsoid
HorizontalCylinder
Icosahedron
PlatonicOctahedron
PlatonicTetrahedron
Prism3
Prism6
Pyramid2
Pyramid3
Pyramid4
Pyramid6
Sphere
Spheroid
TruncatedCube
TruncatedSphere
TruncatedSpheroid
Ripples
Bar ripple
Cosine ripple
Sawtooth ripple
Soft particles
FuzzySphere
Gauss
Custom formfactor
Composite particles
Core and shell
Compound particle
Particle assemblies
Grating
1D lattice
Cosine ripples in a lattice
Triangular ripples in a lattice
Rectangular grating
2D lattice
Hexagonal lattices with basis
2D rotated square lattice
2D square finite lattice
Position variance
2D centered square lattice
Spheres on Hexagonal Lattice
Radial paracrystal
2D paracrystal
Others
Size-distribution model: decoupling approximation
Size-distribution model: local monodisperse approximation
Size-distribution model: size-spacing coupling approximation
Common modifiers
Rotation
Distributions
Fitting
Data import
TIFF
Minimizer settings
Multiple datasets
Plot and export
Class Datafield
Matplotlib configuration
Literature
Babonneau2010
Babonneau2013
Croset2021
Lazzari2002
Lazzari2006
Pospelov2020
Renaud2009
Sears1992
Wuttke2021
How to
Get announcements
Solve known problems
Request help or report bugs
Cite BornAgain
Developers' corner
Configure
Build
Pyenv
Develop
Manual checks
Debug
Webdoc
Code analyses
Release
Manual GUI test