-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
In Luxpy version 1.11.2 I experience the following issue:
When using
lx.detect_peakwl(spd, n=1, verbosity=0)[0]["fwhms"][0]
to get the FWHM of a spectrum, the function returns a significantly too low value for the FWHM. This issue appears, when the spectrum is cut at the short wavelength side, meaning the spectrum does not drop to 0 at the short wavelength end.
Replacing the intensity value at the lowest wavlength value by 0 results in a correct calculation of FWHM.
I am wondering if this is a bug or if it is a feature (for example to compensate for a tilted baseline or noise in the measurement) :-)
Metadata
Metadata
Assignees
Labels
No labels