SAXS.DetectorInfo

SAXS.DetectorInfo#

DetectorInfo.py

class DetectorInfo(**entries)#

Bases: object

A class to hold detector information and simulated SAXS data.

get_detector_info(q, F, dmax=100)#

Simulate SAXS data from a given electron density map using DENSS-like approach.

Parameters:
  • q (np.ndarray) – The q values at which to compute the SAXS intensity.

  • F (np.ndarray) – The 3D Fourier transform of the electron density map.

  • dmax (float, optional) – The maximum dimension of the particle in Angstroms. Default is 100.

Returns:

An instance of the DetectorInfo class.

Return type:

DetectorInfo