SAXS.DenssDetector#
DenssDetector.py
- class DenssDetector(**entries)#
Bases:
object
A class to simulate SAXS data from a given electron density map using DENSS-like approach.
- get_denss_detector(q, rho, DENSS_GPU=False, debug=True)#
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.
rho (np.ndarray) – The 3D electron density map.
DENSS_GPU (bool, optional) – If True, use GPU acceleration for computations.
debug (bool, optional) – If True, enable debug mode with additional output.
- Returns:
An instance of the DenssDetector class.
- Return type: