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

View source: R/RcppExports.R

EvalSinglePeakR Documentation

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

Description

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

Usage

EvalSinglePeak(
  xVals,
  blOffset = 0,
  blSlope = 0,
  amplitude = 0,
  fwhmLo = 0,
  fwhmHi = 0,
  peakPos = 0,
  mu = 0
)

Arguments

xVals

x axis data.

blOffset

Baseline offset at first data point.

blSlope

Slope of baseline.

amplitude

Peak amplitude.

fwhmLo

Left peak width (full width at half maximum).

fwhmHi

Right peak width (full width at half maximum).

peakPos

Peak position.

mu

Gaussian/Lorentzian contribution.

Value

Vector with y axis data.

See Also

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


pasturm/TofDaqR documentation built on March 29, 2024, 12:10 a.m.