+++ title = "EllipsoidalCylinder" +++ ### EllipsoidalCylinder An upright cylinder whose cross section is an ellipse. #### Constructor ```python EllipsoidalCylinder(R_a, R_b, H) ``` Parameters: - R_a, radius $R_{a}$ in $x$ direction - R_b, radius $R_{b}$ in $y$ direction - H, height #### Usage As for any other [Form factor](/ref/sample/particle/ff). #### Implementation Class {{% ref-class "Sample/HardParticle" "EllipsoidalCylinder" %}} inherits from the interface class {{% ref-class "Sample/Particle" "Formfactor" %}}. Form factor is computed as $$ 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) \dfrac{J_1(\gamma)}{\gamma} , $$ with the notation $$ \gamma := \sqrt{(q_xR_a)^2 + (q_yR_b)^2}. $$ Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/FormfactorBasicTest.cpp) against $$V=\pi R_aR_bH.$$ #### Related shapes More special: - [Cylinder](/ref/sample/particle/ff/hard/cylinder), if base is circular. #### Example Scattering by uncorrelated, oriented cylinders for horizontal incidence. Rotation around $z$ axis: Generated by {{% ref-ex "sas/sas-ff.py" %}} (`particle_geometry=EllipsoidalCylinder`). #### History 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