full_width_half_max¶
-
spectacle.analysis.
full_width_half_max
(x, y)[source] [edit on github]¶ Use a univariate spline to fit the line feature, taking its roots as representative of the full width at half maximum.
- Parameters
- x
astropy.units.Quantity
The dispersion array.
- ynp.ndarray
The data array.
- x
- Returns
- float
The full width at half maximum.