| 1 |
+++ |
| 2 |
title = "Sawtooth ripple" |
| 3 |
weight = 20 |
| 4 |
+++ |
| 5 |
|
| 6 |
## Sawtooth ripple |
| 7 |
|
| 8 |
A ripple with an asymmetric saw-tooth profile that is uniform in $x$-direction. |
| 9 |
|
| 10 |
<img src="/img/draw/ff/3d/SawtoothRipple.png" width="30%" > |
| 11 |
<img src="/img/draw/ff/2d/SawtoothRipple_xy.svg" width="30%"> |
| 12 |
<img src="/img/draw/ff/2d/SawtoothRipple_yz.svg" width="30%"> |
| 13 |
|
| 14 |
#### Constructor |
| 15 |
|
| 16 |
```python |
| 17 |
SawtoothRippleBox(L, W, H, d) |
| 18 |
SawtoothRippleGauss(L, W, H, d) |
| 19 |
SawtoothRippleLorentz(L, W, H, d) |
| 20 |
``` |
| 21 |
|
| 22 |
Parameters: |
| 23 |
- L, length |
| 24 |
- W, width |
| 25 |
- H, height |
| 26 |
- d, asymmetry |
| 27 |
|
| 28 |
Constraint: |
| 29 |
|
| 30 |
$ |d| \le W/2 $ |
| 31 |
|
| 32 |
#### Usage |
| 33 |
|
| 34 |
As for any other [Form factor](/ref/sample/particle/ff). |
| 35 |
|
| 36 |
#### Implementation |
| 37 |
|
| 38 |
Class {{% ref-class "Sample/HardParticle" "SawtoothRipple" %}} inherits from the interface class |
| 39 |
{{% ref-class "Sample/Particle" "Formfactor" %}}. |
| 40 |
|
| 41 |
|
| 42 |
Form factor is computed as |
| 43 |
|
| 44 |
$$ F(\mathbf{q}) = f_\parallel(q_x) f_\bot(q_y,q_z), $$ |
| 45 |
|
| 46 |
where |
| 47 |
$$ f_\bot(q_y,q_z) = Hi\frac{\text{e}^{-i q_y d}}{q_y} |
| 48 |
\left[ |
| 49 |
\text{e}^{i \alpha_{-}/2} \text{sinc}\left( \frac{\alpha_{+}}{2} \right) |
| 50 |
- \text{e}^{i \alpha_{+}/2} \text{sinc}\left( \frac{\alpha_{-}}{2} \right) |
| 51 |
\right], $$ |
| 52 |
|
| 53 |
with the notation |
| 54 |
$$ \alpha_{+} = H q_z + \frac{q_y W}{2} + q_y d, \quad |
| 55 |
\alpha_{-} = H q_z - \frac{q_y W}{2} + q_y d. $$ |
| 56 |
|
| 57 |
Corresponding factor $ f_\parallel(q_x) $ is chosen according to [longitudinal profile](/ref/sample/particle/ff/ripples/). |
| 58 |
|
| 59 |
Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/FormfactorBasicTest.cpp) |
| 60 |
against |
| 61 |
$$ V=\dfrac{LWH}{2}. $$ |
| 62 |
|
| 63 |
#### Scattering |
| 64 |
|
| 65 |
Scattering by uncorrelated, oriented sawtooth ripples for horizontal incidence. Rotation around $z$ axis: |
| 66 |
|
| 67 |
<img src="/img/auto/ff/SawtoothRippleBox.png"> |
| 68 |
|
| 69 |
Generated by {{% ref-ex "sas/sas-ff.py" %}} (`particle_geometry=SawtoothRippleBox`). |
| 70 |
|
| 71 |
#### History |
| 72 |
|
| 73 |
"SawtoothRippleBox" replicates "Ripple2" from FitGISAXS [Babonneau, FitGISAXS v130531 (2013)](https://pprime.fr/wp-content/uploads/2020/01/FitGISAXS_130531.zip). |