Debian Codegraph @

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

raw
1 +++
2 title = "Ellipsoid"
3 +++
4
5 ### Ellipsoid
6
7 A full ellipsoid.
8
9 <img src="/img/draw/ff/3d/Ellipsoid.png" width="30%" >
10 <img src="/img/draw/ff/2d/Ellipsoid_xy.svg" width="30%">
11 <img src="/img/draw/ff/2d/Ellipsoid_xz.svg" width="30%">
12
13 #### Constructor
14
15 ```python
16 Ellipsoid(R_x, R_y, R_z)
17 ```
18
19 Parameters:
20 - R_x, radius $R_{x}$ in $x$ direction
21 - R_y, radius $R_{y}$ in $y$ direction
22 - R_z, radius $R_{z}$ in $z$ direction
23
24 #### Usage
25
26 As for any other [Form factor](/ref/sample/particle/ff).
27
28 #### Implementation
29
30 Class {{% ref-class "Sample/HardParticle" "Ellipsoid" %}} inherits from the interface class
31 {{% ref-class "Sample/Particle" "Formfactor" %}}.
32
33 Form factor is computed as
34
35 $$ F(\mathbf{q})=4\pi R_xR_yR_z \exp(iq_zR_z) \dfrac{\sin(s) - s \cos(s)\}{s^3} , $$
36 with the notation
37 $$ s := \sqrt{(R_xq_x)^2 + (R_yq_y)^2+ (R_zq_z)^2}. $$
38
39 Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/FormfactorBasicTest.cpp)
40 against
41 $$ V=\dfrac{4\pi}{3} R_xR_yR_z. $$
42
43 #### Related shapes
44
45 More special:
46 - [Spheroid](/ref/sample/particle/ff/hard/spheroid), if $R_x=R_y$.
47 - [Sphere](/ref/sample/particle/ff/hard/sphere), if $R_x=R_y=R_z$.
48
49 More general:
50
51 - [EllipsoidalSegment](/ref/sample/particle/ff/hard/ellipsoidalsegment)
52
53 #### Example
54
55 Scattering by uncorrelated, oriented ellipsoids for horizontal incidence. Rotation around $z$ axis:
56
57 <img src="/img/auto/ff/Ellipsoid.png">
58
59 Generated by {{% ref-ex "sas/sas-ff.py" %}} (`particle_geometry=Ellipsoid`).
60
61 #### History
62
63 Introduced in v24.