fwhmjlt
This function Computes peak full-width at half maximum
Calling Sequence
f = fwhm (y)
f = fwhm (x, y)
f = fwhm (…, "zero")
f = fwhm (…, "min")
f = fwhm (…, "alevel", level)
f = fwhm (…, "rlevel", level)
Description
Compute peak full-width at half maximum (FWHM) or at another level of peak maximum for vector or matrix data y, optionally sampled as y(x). If y is a matrix, return FWHM for each column as a row vector.The default option "zero" computes fwhm at half maximum, i.e. 0.5*max(y). The option "min" computes fwhm at the middle curve, i.e. 0.5*(min(y)+max(y)). The option "rlevel" computes full-width at the given relative level of peak profileThe option "alevel" computes full-width at the given absolute level of y.
Examples