Neutron Reflection Analysis Programs

Adrian R. Rennie
Materials Physics, Uppsala University

Introduction

It is difficult to provide efficient data analysis software that is well-suited to a wide range of experiments. In neutron reflection studies the most general way to specify a model is in terms of layers of specified scattering length density. However, these layers may not be well matched to molecular or structural parameters in the systems that are to be investigated. For example, it may be better to think of a surface excess in an adsorption experiment rather than particular densities in layers. Computer programs can easily make these calculations and in many cases least squares minimisation is more effective with a good choice of parameters. For this reason a range of programs have been written specifically adapted to a certain types of experiments that can supplement the more general fitting programs such as drydoc and wetdoc that have models defined in terms of layers of specified scattering length density and thickness.

Executable versions of these programs are available for use under Microsoft Windows and Macintosh OSX. The latest versions can be downloaded as zip files:

Windows: http://www.reflectometry.net/refprog_2015.zip

MacOSX: http://www.reflectometry.net/RefOSX_Jul2013.zip

These programs use the Fitfun data fitting package developed at the ILL by Dr Ron Ghosh and the Clickfit GUI can be used to run the programs.

Programs

The programs can be divided in to two broad categories: (a) programs that treat single data sets in turn and (b) those that make combined fits to multiple data sets simultaneously. The programs in category (a) can also be used to make fits to sequences of data files automatically with output of fitted parameters to a comma separated variable file suitable for further processing with spreadsheet programs. These programs are litsted in the two tables below.

Fitting single data sets and sequences of similar data sets

To run these programs with a graphical user interface (GUI) the procedure Clickfit should be used. This GUI specifically allows series of data sets to be selected for processing in an automatic sequence.

Name Purpose Single/Multiple Data Sets Version Date
bike Fit a surfactant bilayer model defined by scattering length and volumes of 'heads', 'tails' and solvent. This is designed for studies at solid/liquid interfaces and includes the possibility of an extra oxide or gel layer. There is also the possibility to include a Q dependent slope in the background. Single 3.4 27 June 2015
byban This program models repeating bilayers that give rise to Bragg peaks with a term to model fluctuations. Single 1.7 27 June 2015
catamaran A program to model a monolayer formed from two components with defined scattering length (developed from the single component program mono. Single 1.5 27 June 2015
drydoc Fit model defined by up to 4 layers of specified scattering length density and thickness. Interfacial roughness can also be included at each boundary. Single 5.4 27 June 2015
jakt Fit a two layer model defined by scattering lengths and volumes of heads, tails and solvent and area per molecule in the layer. The total thickness and number of solvent molecules are further parameters. A variant yacht fits the tail region thickness. Single 1.5 27 June 2015
lprof Fit model defined by a decaying profile of scattering length density. Options include half-Gaussian, exponential and scaling law functions. Single 3.4 27 June 2015
mono Fit a single layer model defined by a scattering length and area per molecule of the material in the layer. The thickness is a further parameter. This model is useful for simple determination of surface excess. Single 1.9 21 May 2015
scooter Fits a surfactant bilayer model and is analogous to bike except that there is mixing of a fraction of tails in to the head region rather than mixing of heads in to the tail region Single 1.6 27 June 2015
spots Fit model defined by up to 8 layers of specified scattering length density and thickness. This program is particularly intended to calculate the average reflectivity for interfaces that may have regions of different structure that are large compared to the coherence length. Interfacial roughness can also be included at each boundary. Single 1.8 30 October 2015
trail This is a modification of 'tram' (see below) that allows the surface structure for up to three different regions to be modelled under the condition that the areas are large (so that reflectivity rather than scattering length density are averaged. It uses a repeating bilayer model on top of a different oxide/bilayer structure to reflectivity data. The 4 layers on the surface are defined by scattering length density and thickness. The repeating bilayer is described by an area per head group and volumes of 'heads'. and 'tails'. Single 1.6 27 June 2015
tram Fit a repeating bilayer model on top of a different oxide/bilayer structure to reflectivity data. The 4 layers on the surface are defined by scattering length density and thickness. The repeating bilayer is described by an area per head group and volumes of 'heads'. and 'tails'. Single 2.3 27 June 2015
velo Fit a sinusoidal variation in density on top of a different oxide/bilayer structure to reflectivity data. The 4 layers on the surface are defined by scattering length density and thickness. The oscillatory density is described by an average scattering length density, an amplitued of oscillation, a number of oscillations and a phase term. Single 1.8 27 June 2015
yacht Fit a two layer model defined by scattering lengths and volumes of heads, tails and solvent molecules and area per molecule in the layer. The tail region thickness and number of solvent molecules are further parameters. This is a simple variant of jakt. Single 1.6 27 June 2015

Fitting multiple data sets simultaneously

To run these programs with a graphical user interface (GUI) the procedure Clickfit_m should be used.

Name Purpose Single/Multiple Data Sets Version Date
cprof Fit model defined by a decaying profile of scattering length density to data sets measured with different scattering contrasts. Options include half-Gaussian, exponential and scaling law functions. This is the multiple data set analogue to lprof Multiple 2.4 27 June 2015
flyg Fit a two layer model to a solid/solvent or air/solvent interface with solvent penetration in to each layer (to different amounts). Multiple 3.2 27 June 2015
lipid Fit a two layer model defined by scattering length density and thickness of 'tails', 'heads' and solvent. This is designed for studies of surfactants and lipids at air/liquid interfaces and includes the possibility of mixing solvent with the 'heads' and air with the 'tails'. Multiple 1.9 27 June 2015
mbike Fit a surfactant bilayer model defined by scattering length and volumes of 'heads', 'tails' and solvent. This is designed for studies at solid/liquid interfaces and includes the possibility of an extra oxide or gel layer. Multiple 3.5 27 June 2015
mjakt Models monolayers of molecules defined as heads and tails at an air/liquid interface. This is a multiple data set version of jakt which fits a total layer thickness. Multiple 1.5 27 June 2015
myacht Models monolayers of molecules defined as heads and tails at an air/liquid interface. This is a multiple data set version of yacht that fits the thickness of the tail layer. Multiple 1.5 27 June 2015
rail Models a partially submerged layer of molecules at an air/liquid interface Multiple 1.5 27 June 2015
stige Repeating bilayer structure (as in trikk) but allows gradient in both surfactant density (area per molecule) and in solvent spacing. Multiple 1.6 27 June 2015
tog Fit an oxide and gel layer model to a solid/solvent interface. Multiple 2.8 27 June 2015
trikk Repeating bilayer structure (as in tram) Multiple 1.6 27 June 2013
wetdoc Fit a model defined by up to 4 layers of specified scattering length density to multiple data sets. The model is essentially identical to that used in the single data set program 'drydoc'. Multiple 3.3 27 June 2015
wetlay Fit multiple bilayer of specified scattering length density at solid/liquid interface Multiple 2.1 27 June 2015

The programs that fit multiple data sets can be used to provide a simultaneous fit to data sets either for different samples or for parts of the reflectivity measured from the same sample in different files. Some programs that have been modified for X-ray reflectivity analysis and the case that absorption or a significant component of the imaginary part of the refractive has to be considered. These are listed at www.reflectometry.net/xrefprog.htm.

Updates

Some old versions are still available.

Please contact Adrian Rennie if you require archived versions of these programs for any reason.

Return to www.reflectometry.net for other resources about reflection and reflectometry.


Please address any comments or report any errors to Professor Adrian R. Rennie at:

Materials Physics, Uppsala University, Sweden.

Adrian.Rennie@physics.uu.se

© Copyright - Programs and Description - A. R. Rennie Last updated 13 August 2015