glassure.transfer_function module
- glassure.transfer_function.calculate_transfer_function(std_pattern: Pattern, sample_pattern: Pattern, smooth_factor=1) UnivariateSpline
- Parameters:
std_pattern (Pattern) – the Diffraction pattern how it should look like, should be already background subtracted
sample_pattern – the Diffraction pattern of the same sample which needs a transfer function
smooth_factor – Determines the amount of smoothing of the transfer function
- Returns: