easistrain.EDD.utils

Functions

calcBackground(xData, yData, fwhmRight, ...)

Extracts the data outside of the peak bounds to fit the background

fit_detector_data(channels, raw_data, ...)

Process detector data:

gaussEstimation(xData, *params)

guessParameters(xData, yData, nb_peaks, ...)

linefunc(a, xData)

read_config_file(path)

run_from_cli(f)

splitPseudoVoigt(xData, *params)

uChEConversion(a, b, c, ch, ua, ub, uc, uch)

Calculates the uncertainty on the energy coming from the conversion from channel to energy.