SAXS.DenssTools#
DenssTools.py
- class DetectorInfo(**entries)#
Bases:
object
A class to hold detector information and simulated SAXS data.
- run_denss(jcurve_array, output_folder=None, file_prefix='denss_result')#
Runs the DENSS algorithm on the provided j-curve data.
- Parameters:
jcurve_array (np.ndarray) – A 2D array where each row contains q, I, and sigq values. The first column is q, the second is I, and the third is sigq.
output_folder (str, optional) – The folder where the output files will be saved. If None, no files will be saved.
file_prefix (str, optional) – A prefix for the output files. Default is “denss_result”. A name for the data, used in the output. Default is “denss_result”.
- Return type:
None
- get_detector_info_from_density(q, rho, dmax=100, use_denss=False, debug=False)#