Skip to content
Snippets Groups Projects
Commit e969c966 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Link to ToF pages

parent 36cd3b14
No related branches found
No related tags found
1 merge request!1477Webdoc: update scan-related pages
...@@ -62,7 +62,7 @@ the $M_{s150}$ parameter is fitted. ...@@ -62,7 +62,7 @@ the $M_{s150}$ parameter is fitted.
All layers are modeled without absorption, i.e. no imaginary part of the SLD. All layers are modeled without absorption, i.e. no imaginary part of the SLD.
Ferthermore, we apply a resolution correction as described in [this tutorial]({{% ref-py "instr/scan/tofr-with-resolution" %}}) Ferthermore, we apply a resolution correction as described in [this tutorial]({{% ref-py "instr/scan/tof-resolution" %}})
with a fixed value for $\Delta Q / Q = 0.018$. with a fixed value for $\Delta Q / Q = 0.018$.
The experimental data is normalized to unity, but we still fit the intensity, as is necessary due to the resolution correction. The experimental data is normalized to unity, but we still fit the intensity, as is necessary due to the resolution correction.
......
...@@ -35,7 +35,7 @@ and the following six parameters are utilized: ...@@ -35,7 +35,7 @@ and the following six parameters are utilized:
* Thickness of the Pt layer: `t_pt/nm` * Thickness of the Pt layer: `t_pt/nm`
* The relative $Q$-resolution: `q_res/q` ([c.f.]({{% ref-py "instr/scan/tofr-with-resolution" %}})) * The relative $Q$-resolution: `q_res/q` ([c.f.]({{% ref-py "instr/scan/tof-resolution" %}}))
* A $Q$-offset: `q_offset` * A $Q$-offset: `q_offset`
......
...@@ -15,7 +15,7 @@ On top of the iron layer is a thin Pd cap layer. ...@@ -15,7 +15,7 @@ On top of the iron layer is a thin Pd cap layer.
We don't explain the whole script in detail here, it combines all concepts that were introduced before We don't explain the whole script in detail here, it combines all concepts that were introduced before
in the polarized reflectometry section. in the polarized reflectometry section.
Instrument resolution is simulated as explained in the Instrument resolution is simulated as explained in the
[ToF - Resolution effects example]({{% ref-py "instr/scan/tofr-with-resolution" %}}). [ToF - Resolution effects example]({{% ref-py "instr/scan/tof-resolution" %}}).
Furthermore, a constant background is added: Furthermore, a constant background is added:
{{< highlight python>}} {{< highlight python>}}
......
...@@ -41,7 +41,7 @@ This is performed in the function `plotSpinAsymmetry`. ...@@ -41,7 +41,7 @@ This is performed in the function `plotSpinAsymmetry`.
#### Further corrections #### Further corrections
We also apply a resolution correction, as described in the We also apply a resolution correction, as described in the
[ToF - Resolution effects]({{% ref-py "instr/scan/tofr-with-resolution" %}}) example. [ToF - Resolution effects]({{% ref-py "instr/scan/tof-resolution" %}}) example.
Furthermore, we introduce an offest in the $Q$-axis, in order to accomodate for experimental uncertainties Furthermore, we introduce an offest in the $Q$-axis, in order to accomodate for experimental uncertainties
in the measurement of $\theta$. in the measurement of $\theta$.
......
...@@ -55,4 +55,15 @@ and ...@@ -55,4 +55,15 @@ and
scan = ba.QzScan(axis) scan = ba.QzScan(axis)
``` ```
{{% children %}} After constructing a scan, set the wavelength and optionally a constant offset
$\delta q_z$ using
```python
scan.setWavelength(lambda)
scan.setOffset(dqz)
```
Usage is demonstrated in page [time-of-flight reflectometry](tof).
Handling of resolution will change soon.
The current API is demonstrated in page
[time-of-flight reflectometry with resolution](tof-resolution).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment