Debian Codegraph @

hugo/content/ref/sample/particle/ff/ripples/cosine.md

raw
1 +++
2 title = "Cosine ripple"
3 weight = 20
4 +++
5
6 ## Cosine ripple
7
8 A ripple with a symmetric cosine profile that is uniform in $x$-direction.
9
10 <img src="/img/draw/ff/3d/CosineRipple.png" width="30%" >
11 <img src="/img/draw/ff/2d/CosineRipple_xy.svg" width="30%">
12 <img src="/img/draw/ff/2d/CosineRipple_yz.svg" width="30%">
13
14 #### Constructor
15
16 ```python
17 CosineRippleBox(L, W, H)
18 CosineRippleGauss(L, W, H)
19 CosineRippleLorentz(L, W, H)
20 ```
21
22 Parameters:
23 - L, length
24 - W, width
25 - H, height
26
27 #### Usage
28
29 As for any other [Form factor](/ref/sample/particle/ff).
30
31 #### Implementation
32
33 Class {{% ref-class "Sample/HardParticle" "CosineRipple" %}} inherits from the interface class
34 {{% ref-class "Sample/Particle" "Formfactor" %}}.
35
36 Form factor is computed as
37
38 $$ F(\mathbf{q}) = f_\parallel(q_x) f_\bot(q_y,q_z), $$
39
40 where $ f_\bot(q_y,q_z) $ is calculated numerically
41 and $ f_\parallel(q_x) $ is chosen according to [longitudinal profile](/ref/sample/particle/ff/ripples/).
42
43 Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/FormfactorBasicTest.cpp)
44 against
45 $$ V=\dfrac{LWH}{2}. $$
46
47 #### Scattering
48
49 Scattering by uncorrelated, oriented cosine ripples for horizontal incidence. Rotation around $z$ axis:
50
51 <img src="/img/auto/ff/CosineRippleBox.png">
52
53 Generated by {{% ref-ex "sas/sas-ff.py" %}} (`particle_geometry=CosineRippleBox`).
54
55 #### History
56
57 "CosineRippleBox" replicates "Ripple1" from FitGISAXS [Babonneau, FitGISAXS v130531 (2013)](https://pprime.fr/wp-content/uploads/2020/01/FitGISAXS_130531.zip).