Page 1 of 1

Lorentzian broadening for pepper() function

Posted: Mon Oct 09, 2017 12:53 am
by katarkon
It seems that Lorentzian component of Sys.lw is incorrectly threated by 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

Re: Lorentzian broadening for pepper() function

Posted: Mon Oct 09, 2017 10:03 pm
by Stefan Stoll
This is a bug, thanks for reporting. It will be fixed in the next bug-fix release (5.2.6) in a few days.

Re: Lorentzian broadening for pepper() function

Posted: Tue Oct 10, 2017 7:51 am
by Stefan Stoll
This is fixed now in 5.2.6.