| 1 |
+++ |
| 2 |
title = "SpheroidalSegment" |
| 3 |
+++ |
| 4 |
|
| 5 |
### SpheroidalSegment |
| 6 |
|
| 7 |
A vertically oriented, horizontally truncated spheroid. |
| 8 |
|
| 9 |
<img src="/img/draw/ff/3d/SpheroidalSegment.png" width="30%" > |
| 10 |
<img src="/img/draw/ff/2d/SpheroidalSegment_xy.svg" width="30%"> |
| 11 |
<img src="/img/draw/ff/2d/SpheroidalSegment_xz.svg" width="30%"> |
| 12 |
|
| 13 |
#### Constructor |
| 14 |
|
| 15 |
```python |
| 16 |
SpheroidalSegment(R_xy, R_z, t, b) |
| 17 |
``` |
| 18 |
|
| 19 |
Parameters: |
| 20 |
- $R_{xy}$, horizontal radius |
| 21 |
- $R_z$, vertical radius |
| 22 |
- $ t $, cut from top |
| 23 |
- $ b $, cut from bottom |
| 24 |
|
| 25 |
Constraint: |
| 26 |
|
| 27 |
$ t+b \le 2R_z $ |
| 28 |
|
| 29 |
#### Usage |
| 30 |
|
| 31 |
As for any other [Form factor](/ref/sample/particle/ff). |
| 32 |
|
| 33 |
#### Implementation |
| 34 |
|
| 35 |
Class {{% ref-class "Sample/HardParticle" "SpheroidalSegment" %}} inherits from the interface class |
| 36 |
{{% ref-class "Sample/Particle" "Formfactor" %}}. |
| 37 |
|
| 38 |
Computation involves numerical integration in vertical direction, |
| 39 |
|
| 40 |
$$ F(\mathbf{q})=2\pi \exp\[iq_z(R_z-b)\] \int_{-R_z+b}^{R_z-t} \text{d}z \space r_z^2 \frac{J_1(q_{||}r_z)}{q_{||}r_z} \exp(iq_z z), $$ |
| 41 |
|
| 42 |
with the notation |
| 43 |
|
| 44 |
$$ q_{||} := \sqrt{q_x^2 + q_y^2}, \quad r_z:=R_{xy}\sqrt{1-z^2/R_z^2} $$ |
| 45 |
|
| 46 |
Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/FormfactorBasicTest.cpp) |
| 47 |
against |
| 48 |
$$ V=\dfrac{\pi}{3} \Big(\frac{R_{xy}}{R_z}\Big)^2 \[ 4R_z^3 - 3R_z(t^2+b^2) + (t^3 + b^3) \]. $$ |
| 49 |
|
| 50 |
#### Related shapes |
| 51 |
|
| 52 |
More general: |
| 53 |
- [EllipsoidalSegment](/ref/sample/particle/ff/hard/ellipsoidalsegment) |
| 54 |
|
| 55 |
More special: |
| 56 |
- [Spheroid](/ref/sample/particle/ff/hard/spheroid), if $t=b=0.$ |
| 57 |
- [SphericalSegment](/ref/sample/particle/ff/hard/sphericalsegment), if $R_z=R_{xy}$. |
| 58 |
|
| 59 |
#### Example |
| 60 |
|
| 61 |
Scattering by uncorrelated, oriented truncated spheroids for horizontal incidence. Rotation around $y$ axis: |
| 62 |
|
| 63 |
<img src="/img/auto/ff/SpheroidalSegment.png"> |
| 64 |
|
| 65 |
Generated by {{% ref-ex "sas/sas-ff.py" %}} (`particle_geometry=SpheroidalSegment`). |
| 66 |
|
| 67 |
#### History |
| 68 |
|
| 69 |
Agrees with the IsGISAXS form factor "Spheroid" [Lazzari, IsGISAXS manual v2.6 (2006)](http://www.insp.upmc.fr/oxydes/IsGISAXS/figures/doc/manual.html), Eq. 2.42. |