calc_peak_info_vec: Calculate the FWHM of a peak from a vector of intensity...

Description Usage Arguments Value

View source: R/mrs_data_proc.R

Description

Calculate the FWHM of a peak from a vector of intensity values.

Usage

1
calc_peak_info_vec(data_pts, interp_f)

Arguments

data_pts

input vector.

interp_f

interpolation factor to improve the FWHM estimate.

Value

a vector of: x position of the highest data point, maximum peak value in the y axis, FWHM in the units of data points.


neuroconductor-devel/spant documentation built on May 18, 2021, 9:12 p.m.