| 1 |
+++ |
| 2 |
title = "Cylinder" |
| 3 |
+++ |
| 4 |
|
| 5 |
### Cylinder |
| 6 |
|
| 7 |
An upright circular cylinder. |
| 8 |
|
| 9 |
<img src="/img/draw/ff/3d/Cylinder.png" width="30%" > |
| 10 |
<img src="/img/draw/ff/2d/Cylinder_xy.svg" width="30%"> |
| 11 |
<img src="/img/draw/ff/2d/Cylinder_xz.svg" width="30%"> |
| 12 |
|
| 13 |
#### Constructor |
| 14 |
|
| 15 |
```python |
| 16 |
Cylinder(R, H) |
| 17 |
``` |
| 18 |
|
| 19 |
Parameters: |
| 20 |
- R, radius |
| 21 |
- H, height |
| 22 |
|
| 23 |
#### Usage |
| 24 |
|
| 25 |
As for any other [Form factor](/ref/sample/particle/ff). |
| 26 |
|
| 27 |
#### Implementation |
| 28 |
|
| 29 |
Class {{% ref-class "Sample/HardParticle" "Cylinder" %}} inherits from the interface class |
| 30 |
{{% ref-class "Sample/Particle" "Formfactor" %}}. |
| 31 |
|
| 32 |
Form factor is computed as |
| 33 |
|
| 34 |
$$ F(\mathbf{q})=2\pi R^2H \space \exp\Big(iq_z\dfrac{H}{2}\Big) \text{sinc}\Big(q_z\dfrac{H}{2}\Big) |
| 35 |
\dfrac{J_1(q_{\parallel}R)}{q_{\parallel}R} , $$ |
| 36 |
with the notation |
| 37 |
$$ q_{||} := \sqrt{q_x^2 + q_y^2}. $$ |
| 38 |
|
| 39 |
Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/FormfactorBasicTest.cpp) |
| 40 |
against |
| 41 |
$$V=\pi R^2H.$$ |
| 42 |
|
| 43 |
#### Related shapes |
| 44 |
|
| 45 |
More general: |
| 46 |
- [Cone](/ref/sample/particle/ff/hard/cone), if radius varies with z. |
| 47 |
- [EllipsoidalCylinder](/ref/sample/particle/ff/hard/ellipsoidalcylinder), if base is an ellipse. |
| 48 |
- [HorizontalCylinder](/ref/sample/particle/ff/hard/horizontalcylinder), if horizontal and truncated. |
| 49 |
|
| 50 |
#### Example |
| 51 |
|
| 52 |
Scattering by uncorrelated, oriented cylinders for horizontal incidence. Rotation around $y$ axis: |
| 53 |
|
| 54 |
<img src="/img/auto/ff/Cylinder.png"> |
| 55 |
|
| 56 |
Generated by {{% ref-ex "sas/sas-ff.py" %}} (`particle_geometry=Cylinder`). |
| 57 |
|
| 58 |
#### History |
| 59 |
|
| 60 |
This form factor is well known; it goes back to Lord Rayleigh. |
| 61 |
|
| 62 |
In IsGISAXS and FitGISAXS, it has been implemented as form factor "Cylinder" |
| 63 |
[Lazzari, IsGISAXS manual v2.6 (2006)](http://www.insp.upmc.fr/oxydes/IsGISAXS/figures/doc/manual.html), Eq. 2.26; [Renaud et al, Surf Sci Rep 64, 255 (2009)](https://doi.org/10.1016/j.surfrep.2009.07.002), Eq. 223; [Babonneau, FitGISAXS v130531 (2013)](https://pprime.fr/wp-content/uploads/2020/01/FitGISAXS_130531.zip). |