EvalMultiPeak: Calculates the y-axis values for a given set of multi-peak...

View source: R/RcppExports.R

EvalMultiPeakR Documentation

Calculates the y-axis values for a given set of multi-peak parameters.

Description

EvalMultiPeak calculates the y-axis values for a given set of multi-peak parameters.

Usage

EvalMultiPeak(dataX, mass, intensity, commonPar)

Arguments

dataX

x axis data.

mass

Vector of the peak positions.

intensity

Vector of (fitted) intensities.

commonPar

Vector of (fitted) values of common peak parameters. commonPar has 6 elements: [1] offset of common baseline, [2] slope of common baseline, [3] left FWHM, [4] right FWHM, [5] shape parameter mu, [6] common mass shift of peaks.

Value

Vector with y axis data.

See Also

Other Peak fitting functions: EvalSinglePeak(), FitSinglePeak2(), FitSinglePeak(), MultiPeakFit()


pasturm/TofDaqR documentation built on July 20, 2024, 9:44 a.m.