Lorentzian broadening for pepper() function
Posted: Mon Oct 09, 2017 12:53 am
It seems that Lorentzian component of Sys.lw is incorrectly threated by
The final lines of output of
pepper()
function. If it is non-zero, the spectrum looks as zero-garmonic with only Gaussian broadening. If zero or undefuned, correct first harmonic spectrum occurs. Opt.Verbosity=2 output tells that pepper
try the first derivative convolution for Lorentzian broadening if it is nonzero. But it looks that really nothing happens on this stage. Please fix the bug.The final lines of output of
pepper
:Sys.lw=[1 0];
Code: Select all
-final-------------------------------------------------
harmonic 1: using convolution
convoluting with Gaussian, FWHM 1 mT, derivative 1
Sys.lw=[1 1];
Code: Select all
-final-------------------------------------------------
harmonic 1: using convolution
convoluting with Lorentzian, FWHM 1 mT, derivative 1
convoluting with Gaussian, FWHM 1 mT, derivative 0