Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Fourier Transform - from Density to Scattering

Since these explanations are beyond the scope of this book, we take the following relationships, depicted below, for granted:

  1. The scattering curve is a circular average of the detector image.

  2. The detector image is a spherical average of the squared absolute values in reciprocal space.

  3. The reciprocal space is obtained by applying a Fourier transform to the real space.

Confirm each relationship in the code.

<Figure size 1200x300 with 4 Axes>

We can confirm the above relationships by computing the scattering curve in two ways: using the analytical formula and by direct Fourier transform, as shown below.

<Figure size 1200x500 with 2 Axes>

With the current state of the code, the calculation for an ellipsoid may be inaccurate (see the next plot), while it appears correct when the semi-axes are equal (i.e., a=b=c a=b=c , as in the followed plot resulting in a sphere).

<Figure size 1200x500 with 2 Axes>
<Figure size 1200x500 with 2 Axes>