FWHM: FWHM and HWHM

Description Usage Arguments Details

Description

Returns the width of a given spectrum.

Usage

1
2
3
4
5

Arguments

spectrum

a numeric matrix. The x and y coordinates of the function whose width is to be measured.

Details

These functions provide the full-width at half-maximum or the half-width at half-maximum depending on the function. Given a two column matrix describing the x and y positions of a spectrum, the function finds the location of the maximum and finds the spot just below the half-max point on either side of the peak. The function approx is used to determine the actual location of the half-max point on either side of the maximum. The separation of these two points is then computed provided the full maximum. For the half-width functions, onlye the right side is computed in HWHMright and only the left side is computed in HWHMleft.


bgrich/JLstartup documentation built on May 12, 2019, 8:21 p.m.