Description Usage Arguments Details
Returns the width of a given spectrum.
1 2 3 4 5 |
spectrum |
a numeric matrix. The x and y coordinates of the function whose width is to be measured. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.