Demeter

Description Perl tools for X-ray Absorption Spectroscopy
Demeter > Perl Modules > Demeter::PeakFit::Larch
Source

NAME

Demeter::PeakFit::Larch - Larch backend to Demeter's peak fitting tool

VERSION

This documentation refers to Demeter version 0.9.26.

SYNOPSIS

DESCRIPTION

METHODS

LINESHAPES

These are Larch's available lineshapes. Note that the format of this document section is parsed by the reporting methods of this object.

linear(yint, slope)
 yint + slope * x
gaussian(height, center, sigma)
 height*exp(-1*((x-center)/(2*sigma))^2) / (sigma*sqrt(2*pi)
lorentzian(height, center, sigma)
 (height*sigma/(2*pi)) / ((x-center)^2 * (sigma/2)^2)
voigt(height, center, hwhm, gamma)
 convolution of Lorentzian and Gaussian functions
pvoigt(height, center, hwhm, frac)
 eta*loren + (1-eta)*gauss
atan(step, e0, width)
 step*[atan((x-E0)/width)/pi + 0.5]
erf(step, e0, width)
 step*(erf((x-e0)/width) + 1)
pearson7(height, center, sigma, exponent)
 Pearson7 lineshape
breit_wigner(height, center, sigma, q)
 height*(q*sigma/2 + x - center)**2 / ( (sigma/2)**2 + (x - center)**2 )
logistic(height, center, sigma)
 height*(1 - 1 / (1 + exp((x-center)/sigma)))
lognormal(height, center, sigma)
 (height/x) * exp(-(ln(x) - center)/ (2* sigma**2))
students_t(height, center, sigma)
 height*gamma((sigma+1)/2) * (1 + (x-center)**2/sigma)^(-(sigma+1)/2) / (sqrt(sigma*pi)gamma(sigma/2))

CONFIGURATION AND ENVIRONMENT

See Demeter::Config for a description of the configuration system.

DEPENDENCIES

Demeter's dependencies are in the Build.PL file.

BUGS AND LIMITATIONS

Please report problems to the Ifeffit Mailing List (http://cars9.uchicago.edu/mailman/listinfo/ifeffit/)

Patches are welcome.

AUTHOR

Bruce Ravel, http://bruceravel.github.io/home

http://bruceravel.github.io/demeter/

LICENCE AND COPYRIGHT

Copyright (c) 2006-2018 Bruce Ravel (http://bruceravel.github.io/home). All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlgpl.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.