Debian Codegraph @

hugo/content/ref/sample/particle/ff/hard/prism6.md

raw
1 +++
2 title = "Prism6"
3 +++
4
5 ### Prism6
6
7 A prism based on regular hexagon.
8
9 <img src="/img/draw/ff/3d/Prism6.png" width="30%" >
10 <img src="/img/draw/ff/2d/Prism6_xy.svg" width="30%">
11 <img src="/img/draw/ff/2d/Prism6_xz.svg" width="30%">
12
13 #### Constructor
14
15 ```python
16 Prism6(L, H)
17 ```
18
19 Parameters:
20 - R, edge of the regular hexagonal base
21 - H, height
22
23 #### Usage
24
25 As for any other [Form factor](/ref/sample/particle/ff).
26
27 #### Implementation
28
29 Class [Prism6]({{% url-src %}}/Sample/HardParticle/Polyhedra.h) inherits from the interface class
30 {{% ref-class "Sample/Particle" "Formfactor" %}}.
31
32 Form factor is computed as
33
34 $$ F(\mathbf{q})=H \space \exp\Big(iq_z\dfrac{H}{2}\Big) \space \text{sinc}\Big(q_z\dfrac{H}{2}\Big) \space F_{||}(\mathbf{q}_{||}) $$
35
36 where the form factor $F_{||}(\mathbf{q}_{||}) $ computation is based on the generic form factor of a planar polygon with two-fold symmetry $(S_2)$ provided by {{% link-libformfactor %}}.
37
38 Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/FormfactorBasicTest.cpp)
39 against
40 $$ V=\dfrac{3\sqrt3}{2}HR^2. $$
41
42 #### Related shapes
43
44 More general:
45 - [Pyramid6](/ref/sample/particle/ff/hard/pyramid6), if sides are not vertical.
46
47 #### Example
48
49 Scattering by uncorrelated, oriented prisms for horizontal incidence. Rotation around $z$ axis:
50
51 <img src="/img/auto/ff/Prism6.png">
52
53 Generated by {{% ref-ex "sas/sas-ff.py" %}} (`particle_geometry=Prism6`).
54
55 #### History
56
57 Has been validated against the "Prism6" form factor of IsGISAXS [Lazzari, IsGISAXS manual v2.6 (2006)](http://www.insp.upmc.fr/oxydes/IsGISAXS/figures/doc/manual.html), Eq. 2.30 and "Prism with six fold symmetry" [Renaud et al, Surf Sci Rep 64, 255 (2009)](https://doi.org/10.1016/j.surfrep.2009.07.002), Eq. 221, which has different parametrization and lacks a factor $H$ in $F(\mathbf{q})$.
58 Reimplemented in BornAgain 1.6 using the generic form factor of a polygonal prism with symmetry $S_{2}$ [Wuttke, J Appl Cryst 54, 580 (2021)](https://doi.org/10.1107/S1600576721001710) to achieve numerical stability near the removable singularity at $q \to 0$.