Debian Codegraph @

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

raw
1 +++
2 title = "Ripples"
3 weight = 20
4 +++
5
6 ## Ripples
7
8 Elongated particles, or ripples, are typically used to model lamellar cuts or gratings.
9
10 As everywhere else in BornAgain
11 only single scattering in the DWBA is simulated.
12 This can be insufficient for periodic gratings
13 that cause noticeable higher-order diffraction.
14 But for the foreseeable future, multiple-scattering effects are not in the scope of BornAgain.
15
16 We choose ripples to be elongated in $x$ direction.
17 Different profiles in the $YZ$ plane can be set, for example, bar, cosine, sawtooth.
18 For each of them, different profiles can also be chosen in the $XZ$ plane.
19
20 [The approach to setting the ripple profiles will be changed soon]({{% url-issues %}}/60)
21
22 #### Implementation
23
24 Form factor is computed as
25
26 $$ F(\mathbf{q}) = f_\parallel(q_x) f_\bot(q_y,q_z) $$
27
28 The longitudinal factor $ f_\parallel $ is defined in $XZ$ plane for the following shapes:
29
30 ##### Box
31
32 $$ f_\parallel(q_x)=L \space \text{sinc}(q_xL/2) $$
33
34 ##### Gauss
35
36 $$ f_\parallel(q_x)= \space \frac{L}{\sqrt{2 \pi}} \text{e}^{- \frac{{(q_x L)}^{2}}{2}} $$
37
38 ##### Lorentz
39
40 $$ f_\parallel(q_x)= \space \frac{L}{1+{(q_x L)}^{2}} $$
41
42 The transversal factor $ f_\bot(q_y,q_z) $ is defined by the ripple type
43
44 {{% children %}}
45
46 #### History
47
48 Full documentation and API support for all ripple form factors appeared in
49 BornAgain 1.17. Before that release, the Lorentz factor $ f_\parallel $ had an extra factor of 2.5.
50 The Gauss factor $ f_\parallel $ was completely wrong up through BornAgain 20.