Debian Codegraph @

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

raw
1 +++
2 title = "Form factor"
3 weight = 5
4 +++
5
6 ## Particle form factor
7
8 #### Theory
9
10 A particle shape is described
11 through the density function $n(\mathbf{r})$ in real space,
12 or the form factor
13 $$F(\mathbf{q}) = \int d^3r\thinspace e^{i\mathbf{q}\mathbf{r}} n(\mathbf{r})$$
14 in reciprocal space.
15
16 For a "hard" particle, $n(\mathbf{r})$ is an indicator function
17 with value 1 inside, 0 outside.
18 For a "soft" particle, $n(\mathbf{r})$ has a smooth transition from the inside limit of 1
19 to the outside limit of 0.
20
21 At large $q$, the exponential factor in the integral defining $F(\mathbf{q})$
22 oscillates rapidly. This leads to substantial errors if $q$ is of the same order
23 or larger than the inverse detector bin length.
24 In such cases, we recommend
25 [Monte-Carlo integration over detector bins](/ref/sim/setup/options/mc)
26 (see [example](/ref/sim/class/scattering/ex/mc)).
27
28 By construction, $F(\mathbf{q})$ is a holomorphic function.
29 Therefore expressions previously derived for real wave vectors $\mathbf{q}$
30 also hold for complex $\mathbf{q}$.
31
32 #### Implementation
33
34 The interface class {{% ref-class "Sample/Particle" "Formfactor" %}}
35 cannot be instantiated directly.
36 Instead, one has to choose one of the following child classes:
37
38 - hard particles:
39 - spheroids:
40 - cylinders and cones:
41 - polygonal prisms:
42 - pyramids (frusta):
43 * rectangular
44 * trigonal
45 * quadratic: Pyramid4, Bipyramid4
46 * hexagonal
47 - other polyhedra:
48 - soft particles:
49 - spherical:
50
51 Using Python scripting, it is also possible to define a [custom form factor](custom).
52
53 #### Usage
54
55 Form factors are used to define the shape of particles:
56 ```python
57 ff = ba.Cylinder(5*nm, 5*nm)
58 particle = ba.Particle(material_Particle, ff)
59 ```
60
61 #### Literature
62
63 Form factor catalogues in earlier software:
64 - IsGISAXS: [Lazzari, IsGISAXS manual v2.6 (2006)](http://www.insp.upmc.fr/oxydes/IsGISAXS/figures/doc/manual.html),
65 [Renaud et al, Surf Sci Rep 64, 255 (2009)](https://doi.org/10.1016/j.surfrep.2009.07.002).
66 - FitGISAXS: [Babonneau, J Appl Cryst 35, 406 (2010)](https://doi.org/10.1107/S0021889810020352),
67 [Babonneau, FitGISAXS v130531 (2013)](https://pprime.fr/wp-content/uploads/2020/01/FitGISAXS_130531.zip).
68
69 Stable algorithm for computing form factors of polyhedra: [Wuttke, J Appl Cryst 54, 580 (2021)](https://doi.org/10.1107/S1600576721001710).