# superball model # Note: model title and parameter table are inserted automatically Definition

Superball visualisation for varied values of the parameter p.

This model calculates the scattering of a superball, which represents a cube with rounded edges. It can be used to describe nanoparticles that deviate from the perfect cube shape as it is often observed experimentally [#WetterskogSuperball]_. The shape is described by

$$ x^{2p} + y^{2p} + z^{2p} \leq \biggl( \frac{a}{2} \biggr)^{2p}

$$

with $a$ the cube edge length of the superball and $p$ a parameter that describes the roundness of the edges. In the limiting cases $p=1$ the superball corresponds to a sphere with radius $R = a/2$ and for $p = \infty$ to a cube with edge length $a$. The exponent $p$ is related to $a$ and the face diagonal $d$ via

$$ p = \frac{1}{1 + 2 \mathrm{log}_2 (a/d)}.

$$

Cross-sectional view of a superball showing the principal axis length $a$, the face-diagonal $d$ and the superball radius $R$.

The oriented form factor is determined by solving

$$ p_o(\vec{q}) =& \int_{V} \mathrm{d} \vec{r} e^{i \vec{q} \cdot \vec{r}}\\ =& \frac{a^3}{8} \int_{-1}^{1} \mathrm{d} x \int_{-\gamma}^{\gamma} \mathrm{d} y \int_{-\zeta}^{\zeta} \mathrm{d} z e^{i a (q_x x + q_y y + q_z z) / 2}\\ =& \frac{a^2}{2 q_z} \int_{-1}^{1} \mathrm{d} x \int_{-\gamma}^{\gamma} \mathrm{d} y e^{i a(q_x x + q_y y)/2} \sin(q_z a \zeta / 2),

$$

with

$$ \gamma =& \sqrt[2p]{1-x^{2p}}, \\ \zeta =& \sqrt[2p]{1-x^{2p} -y^{2p}}.

$$

The integral can be transformed to

$$ p_o(\vec{q}) = \frac{2 a^2}{q_z} \int_{0}^{1} \mathrm{d} x \, \cos \biggl(\frac{a q_x x}{2} \biggr) \int_{0}^{\gamma} \mathrm{d} y \, \cos \biggl( \frac{a q_y y}{2} \biggr) \sin \biggl( \frac{a q_z \zeta}{2} \biggr),

$$

which can be solved numerically.

The orientational average is then obtained by calculating

$$ P(q) = \int_0^{\tfrac{\pi}{2}} \mathrm{d} \varphi \int_0^{\tfrac{\pi}{2}} \mathrm{d} \theta \, \sin (\theta) | p_o(\vec{q}) |^2

$$

with

$$ \vec{q} = q \begin{pmatrix} \cos (\varphi) \sin (\theta)\\ \sin (\varphi) \sin(\theta)\\ \cos (\theta)\end{pmatrix}

$$

The implemented orientationally averaged superball model is then fully given by [#DresenSuperball]_

$$ I(q) = \mathrm{scale} (\Delta \rho)^2 P(q) + \mathrm{background}.

$$

FITTING NOTES ~~~~~~~~~~~~~

Validation

The code is validated by reproducing the spherical form factor implemented in SasView for $p = 1$ and the parallelepiped form factor with $a = b = c$ for $p = 1000$. The form factors match in the first order oscillation with a precision in the order of $10^{-4}$. The agreement worsens for higher order oscillations and beyond the third order oscillations a higher order Gauss quadrature rule needs to be used to keep the agreement below $10^{-3}$. This is however avoided in this implementation to keep the computation time fast.

References

E. Wetterskog, A. Klapper, S. Disch, E. Josten, R. P. Hermann, U. Rücker, T. Brückel, L. Bergström and G. Salazar-Alvarez, *Nanoscale*, 8 (2016) 15571

D. Dresen, A. Qdemat, S. Ulusoy, F. Mees, D. Zakutna, E. Wetterskog, E. Kentzinger, G. Salazar-Alvarez, S. Disch, *J. Phys. Chem. C* (2021), doi: 10.1021/acs.jpcc.1c06082

Source

`superball.py <https://github.com/SasView/sasmodels/blob/master/sasmodels/models/superball.py>`_

`superball.c <https://github.com/SasView/sasmodels/blob/master/sasmodels/models/superball.c>`_

Authorship and Verification

**Author:** Dominique Dresen **Date:** March 27, 2019

**Last Modified by:** Dominique Dresen **Date:** March 27, 2019

**Last Reviewed by:** Dirk Honecker **Date:** November 05, 2021

Created By |
sasview |

Uploaded |
Sept. 8, 2023, 7:24 p.m. |

Category |
Sphere |

Score |
0 |

Verified |
Verified by SasView Team on 08 Sep 2023 |

In Library |
This model is included in the SasView library by default |

Files |
superball.py superball.c |

No comments yet.

Please log in to add a comment.