You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/advanced/resampling.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
Profile Resampling ('microslicing')
5
5
===================================
6
6
7
-
The Nevot-Croce roughness approximation only strictly holds for cases where the interface roughness is much less than the layer thickness. The usual way
7
+
The `Nevot-Croce roughness approximation<https://www.reflectometry.org/learn/3_reflectometry_slab_models/roughness_and_microslicing.html>`_ only strictly holds for cases where the interface roughness is much less than the layer thickness. The usual way
8
8
of handling cases where this approximation does not hold is to split the interfaces into a large number of layers of zero roughness, so that the roughness problem
@@ -541,7 +541,7 @@ In other words, the entire purpose of our custom layer file is to take our param
541
541
(e.g. Area per Lipid in our case), and to translate these into a list of :math:`[d, \rho, \sigma]` layers for the whole interface.
542
542
You have complete freedom in how you do this, which means that you can make any kind of layer model you can think of using a custom layers file,
543
543
including layers that are mixtures of adjoining layers and so on. As long as you can describe your
544
-
system as layers with an error function (i.e. Nevot-Croce) roughness you can describe them using custom layer modelling.
544
+
system as layers with an error function (i.e. `Nevot-Croce<https://www.reflectometry.org/learn/3_reflectometry_slab_models/roughness_and_microslicing.html>`_) roughness you can describe them using custom layer modelling.
545
545
546
546
The rest of the custom model is defined similar to the standard layers model shown in :ref:`project`.
547
547
So, since we want to analyse three contrasts simultaneously, we need the following:
@@ -741,7 +741,7 @@ In these cases, a second type of custom model can be used, where instead of the
741
741
it builds a continuous SLD profile, which is then automatically microsliced by RAT to calculate the reflectivity.
742
742
This gives a high degree of flexibility for the type of model that can be generated.
743
743
744
-
As before, the custom model can be defined in MATLAB, Python, or C++; for the purpose of this tutorial we will just use MATLAB.
744
+
As before, the custom model can be defined in MATLAB, Python, or C++; for the purpose of this tutorial we will just use MATLAB and Python.
745
745
746
746
The inputs into custom XY are the same as for Custom Layers, but the output is now always an [n x 2] array defining a continuous SLD:
Copy file name to clipboardExpand all lines: source/tutorial/introduction.rst
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,10 +89,12 @@ In our example, the layers can be either deuterated or hydrogenated, and the bul
89
89
.. image:: ../images/tutorial/lipidMonolayer.png
90
90
:width:300
91
91
:alt:The lipid monolayer example
92
+
92
93
93
-
We are going to analyze our monolayer data using a standard `slab model <https://www.reflectometry.org/learn/3_reflectometry_slab_models/the_slab_model.html>`_.
94
-
In this model, we approximate our experimental model as a series of layers with a known thickness, roughness, SLD and hydration.
95
-
The way that this is represented in the RAT model definition is by a list of **Parameter** objects which represent a given quantity (such as a thickness or SLD),
94
+
95
+
We are going to analyse our monolayer data using a standard `slab model <https://www.reflectometry.org/learn/3_reflectometry_slab_models/the_slab_model.html>`_.
96
+
In this model, we approximate our experimental model as a series of layers with a known thickness, roughness, SLD and hydration which modifies SLD.
97
+
The way that this is represented in the RAT model definition is by a list of **Parameter** objects which represent a given quantity (such as a thickness or hydration or SLD directly),
96
98
and then a list of **Layer** objects which group together these parameters to describe each layer. Layers are then grouped together in a **Contrast** object which
97
99
describes the slab model and matches it up to the experimental data to which the model will be compared. In this project we have two contrasts representing
98
100
two slab models (one for our deuterated experiment, one for our hydrogenated experiment).
0 commit comments