R_FACTOR_SMOOTHING

R_FACTOR_SMOOTHING defines the number of times that experimental I(V) curves will be smoothed by 3-point smoothing during \(R\)-factor calculations, both after the reference calculation and during the search.

Note

It is recommended to smooth the experimental curves beforehand, such that smoothing during TensErLEED operation is not necessary. See the \(R\)-factor page for details.

If you do use smoothing through the R_FACTOR_SMOOTHING parameter, check the experimental curves in the Rfactor_analysis.pdf file. This plots the curves after smoothing, as well as the Y-function used for calculating the \(R\) factor.

Changed in version 0.15.0: Parameter renamed from R_FACTOR_SMOOTH to R_FACTOR_SMOOTHING. The old name is still accepted as an alias for backwards compatibility.

Default: 0

Allowed values: 0 or positive integer

Syntax:

R_FACTOR_SMOOTHING = 4

Warning

This parameter is only applied in the old TensErLEED-based fortran codes, and not in the newer \(R\)-factor implementations. If you use the newer, python-based \(R\)-factor implementations, for example by setting R_FACTOR_LEGACY to False, this parameter will have no effect.