| 1 |
+++ |
| 2 |
title = "EllipsoidalCylinder" |
| 3 |
+++ |
| 4 |
|
| 5 |
### EllipsoidalCylinder |
| 6 |
|
| 7 |
An upright cylinder whose cross section is an ellipse. |
| 8 |
|
| 9 |
<img src="/img/draw/ff/3d/EllipsoidalCylinder.png" width="30%" > |
| 10 |
<img src="/img/draw/ff/2d/EllipsoidalCylinder_xy.svg" width="30%"> |
| 11 |
<img src="/img/draw/ff/2d/EllipsoidalCylinder_xz.svg" width="30%"> |
| 12 |
|
| 13 |
#### Constructor |
| 14 |
|
| 15 |
```python |
| 16 |
EllipsoidalCylinder(R_a, R_b, H) |
| 17 |
``` |
| 18 |
|
| 19 |
Parameters: |
| 20 |
- R_a, radius $R_{a}$ in $x$ direction |
| 21 |
- R_b, radius $R_{b}$ in $y$ direction |
| 22 |
- H, height |
| 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" "EllipsoidalCylinder" %}} inherits from the interface class |
| 31 |
{{% ref-class "Sample/Particle" "Formfactor" %}}. |
| 32 |
|
| 33 |
Form factor is computed as |
| 34 |
|
| 35 |
$$ F(\mathbf{q})=2\pi R_aR_b H \space \exp\Big(iq_z\dfrac{H}{2}\Big) \text{sinc}\Big(q_z\dfrac{H}{2}\Big) |
| 36 |
\dfrac{J_1(\gamma)}{\gamma} , $$ |
| 37 |
with the notation |
| 38 |
$$ \gamma := \sqrt{(q_xR_a)^2 + (q_yR_b)^2}. $$ |
| 39 |
|
| 40 |
Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/FormfactorBasicTest.cpp) |
| 41 |
against |
| 42 |
$$V=\pi R_aR_bH.$$ |
| 43 |
|
| 44 |
#### Related shapes |
| 45 |
|
| 46 |
More special: |
| 47 |
- [Cylinder](/ref/sample/particle/ff/hard/cylinder), if base is circular. |
| 48 |
|
| 49 |
#### Example |
| 50 |
|
| 51 |
Scattering by uncorrelated, oriented cylinders for horizontal incidence. Rotation around $z$ axis: |
| 52 |
|
| 53 |
<img src="/img/auto/ff/EllipsoidalCylinder.png"> |
| 54 |
|
| 55 |
Generated by {{% ref-ex "sas/sas-ff.py" %}} (`particle_geometry=EllipsoidalCylinder`). |
| 56 |
|
| 57 |
#### History |
| 58 |
|
| 59 |
Agrees with "Ellipsoid" form factor of IsGISAXS [Lazzari, IsGISAXS manual v2.6 (2006)](http://www.insp.upmc.fr/oxydes/IsGISAXS/figures/doc/manual.html), Eq. 2.40, wrongly labeled in Fig. 2.4 and "Ellipsoidal Cylinder" [Renaud et al, Surf Sci Rep 64, 255 (2009)](https://doi.org/10.1016/j.surfrep.2009.07.002), Eq. 224 |