Lorentzian broadening for pepper() function

A place to report and discuss potential bugs
Post Reply
katarkon
Local Expert
Posts: 182
Joined: Mon Jan 12, 2015 4:01 am

Lorentzian broadening for pepper() function

Post 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
Stefan Stoll
EasySpin Creator
Posts: 1041
Joined: Mon Jul 21, 2014 10:11 pm
Location: University of Washington

Re: Lorentzian broadening for pepper() function

Post 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.
Stefan Stoll
EasySpin Creator
Posts: 1041
Joined: Mon Jul 21, 2014 10:11 pm
Location: University of Washington

Re: Lorentzian broadening for pepper() function

Post by Stefan Stoll »

This is fixed now in 5.2.6.
Post Reply