diff --git a/hugo/content/py/fitting/extended/reflectometry-honeycomb/index.md b/hugo/content/py/fitting/extended/reflectometry-honeycomb/index.md index 8ea01341aa8bb53775a7b749f2d6afce27d95100..ab0c7deb70c089b3e57e6999f633f3212b94c635 100644 --- a/hugo/content/py/fitting/extended/reflectometry-honeycomb/index.md +++ b/hugo/content/py/fitting/extended/reflectometry-honeycomb/index.md @@ -62,7 +62,7 @@ the $M_{s150}$ parameter is fitted. 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$. The experimental data is normalized to unity, but we still fit the intensity, as is necessary due to the resolution correction. diff --git a/hugo/content/py/fitting/extended/reflectometry-pt-layer/index.md b/hugo/content/py/fitting/extended/reflectometry-pt-layer/index.md index 5849e6cac52dc853a5e9e56d218363c704e92d8e..0df7eac6a6fcbe4cdcf5678692637d4238886cdc 100644 --- a/hugo/content/py/fitting/extended/reflectometry-pt-layer/index.md +++ b/hugo/content/py/fitting/extended/reflectometry-pt-layer/index.md @@ -35,7 +35,7 @@ and the following six parameters are utilized: * 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` diff --git a/hugo/content/py/instr/polarized/polarized-non-perfect-ap/index.md b/hugo/content/py/instr/polarized/polarized-non-perfect-ap/index.md index 625a1b5cc9f0e7bd3a3668a66f007d531fe4dcb7..32357aeb14cb8577701a4a7804dc0cbbac5da7e1 100644 --- a/hugo/content/py/instr/polarized/polarized-non-perfect-ap/index.md +++ b/hugo/content/py/instr/polarized/polarized-non-perfect-ap/index.md @@ -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 in the polarized reflectometry section. 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: {{< highlight python>}} diff --git a/hugo/content/py/instr/polarized/polarized-spinasymmetry/index.md b/hugo/content/py/instr/polarized/polarized-spinasymmetry/index.md index 23a71ba719ee19d5470538bd61dc9d091a5c4fb3..3c96bda088bedd1bc00ff8d337319c54cb2bd368 100644 --- a/hugo/content/py/instr/polarized/polarized-spinasymmetry/index.md +++ b/hugo/content/py/instr/polarized/polarized-spinasymmetry/index.md @@ -41,7 +41,7 @@ This is performed in the function `plotSpinAsymmetry`. #### Further corrections 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 in the measurement of $\theta$. diff --git a/hugo/content/py/instr/scan/_index.md b/hugo/content/py/instr/scan/_index.md index 70129900de73c4ffb94e1ad27674ec561841eb9c..3775f26d57e0d106c3cf1017b60f8fcac0832c3e 100644 --- a/hugo/content/py/instr/scan/_index.md +++ b/hugo/content/py/instr/scan/_index.md @@ -55,4 +55,15 @@ and 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). diff --git a/hugo/content/py/instr/scan/tofr-with-resolution/index.md b/hugo/content/py/instr/scan/tof-resolution.md similarity index 100% rename from hugo/content/py/instr/scan/tofr-with-resolution/index.md rename to hugo/content/py/instr/scan/tof-resolution.md diff --git a/hugo/content/py/instr/scan/time-of-flight/index.md b/hugo/content/py/instr/scan/tof.md similarity index 100% rename from hugo/content/py/instr/scan/time-of-flight/index.md rename to hugo/content/py/instr/scan/tof.md