DSPC Standard Layers#

This shows an example of using a standard layers model to analyse reflectivity from a floating bilayer of DSPC.

The model is set up in the script, we set Gaussian priors on some of the parameters, build the two contrasts, run the calculation and plot the results.

This example can be run as a script or interactively using the instructions below.

Run Script:

root = getappdata(0, 'root');
cd(fullfile(root, 'examples', 'normalReflectivity', 'standardLayers'));
standardLayersDSPCScript

Run Interactively:

root = getappdata(0, 'root');
cd(fullfile(root, 'examples', 'normalReflectivity', 'standardLayers'));
edit standardLayersDSPCSheet.mlx

Run Script:

python RATapi.examples.non_polarised.DSPC_standard_layers.py

Run as Function:

import RATapi as RAT
problem, results = RATapi.examples.non_polarised.DSPC_standard_layers()

Run Interactively:

jupyter notebook RATapi.examples.non_polarised.DSPC_standard_layers.ipynb