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.

Electron Density Retrieval

SAXS Theory explaines how the X-ray beam is scattered by the sample particles. Our final analysis step is to solve the inverse problem of determining the particle shape or its electron density from a scattering curve which has been so far computed to be a good representation of the scattered X-ray intensities.

For this purpose, DENSS is now the most trusted program in the open source software, for which Molass has a simple wrapper as shown below.

Learning Points

  • jcurve_array = decomposition.get_xr_components()[0].get_jcurve_array()

  • run_denss(jcurve_array)

  • show_mrc(‘denss_result.mrc’)

How to Run DENSS

First, get a better scattering curve by decomposition.

zeros at the angular ends of error data have been replaced with the adjacent values.
<molass.PlotUtils.PlotResult.PlotResult at 0x1c1e64481a0>
<Figure size 1600x800 with 8 Axes>

Then, selecting one of the components, run DENSS as follows.

How to Show the Result

The result can be visualized as follows.

<Figure size 1600x700 with 3 Axes>