hexrd.fitting.spectrum module
- class hexrd.fitting.spectrum.SpectrumModel(data, peak_centers, pktype='pvoigt', bgtype='linear', fwhm_init=None, min_ampl=0.0001, min_pk_sep=0.01)[source]
Bases:
object
- property background_params
- property bgtype
- property data
- property min_pk_sep
- property model
- property num_peaks
- property params
- property peak_params
- property pktype
- property tth0
- hexrd.fitting.spectrum.pink_beam_dcs(x, amp, cen, alpha0, alpha1, beta0, beta1, fwhm_g, fwhm_l)[source]
@author Saransh Singh, Lawrence Livermore National Lab @date 10/18/2021 SS 1.0 original @details pink beam profile for DCS data for calibration. more details can be found in Von Dreele et. al., J. Appl. Cryst. (2021). 54, 3–6