LCF: Linear Combination Fitting

Baseline correction, normalization and linear combination fitting (LCF) of X-ray absorption near edge structure (XANES) spectra. The package includes data loading of .xmu files exported from 'ATHENA' (Ravel and Newville, 2005) <doi:10.1107/S0909049505012719>. Loaded spectra can be background corrected and all standards can be fitted at once. Two linear combination fitting functions can be used: (1) fit_athena(): Simply fitting combinations of standards as in ATHENA, (2) fit_float(): Fitting all standards with changing baseline correction and edge-step normalization parameters.

Version: 1.7.0
Depends: R (≥ 3.2.1)
Imports: quadprog
Published: 2017-11-22
DOI: 10.32614/CRAN.package.LCF
Author: Florian Werner [aut, cre]
Maintainer: Florian Werner <florian.werner at>
License: GPL-3
NeedsCompilation: no
CRAN checks: LCF results


Reference manual: LCF.pdf


Package source: LCF_1.7.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): LCF_1.7.0.tgz, r-oldrel (arm64): LCF_1.7.0.tgz, r-release (x86_64): LCF_1.7.0.tgz, r-oldrel (x86_64): LCF_1.7.0.tgz
Old sources: LCF archive


Please use the canonical form to link to this page.