Ramanpk: Raman peak fit

View source: R/peakfitting.R

RamanpkR Documentation

Raman peak fit

Description

This is the actual workhorse that does the peak fitting for each spectra. Note: this function only works for a single spectra and does not handle saving the output and so on. Always use one of the wrapper functions.

Usage

Ramanpk(
  data.exp,
  override = FALSE,
  kerpk = 1,
  fitmaxiter = 50,
  gam = 0.6,
  scl.factor = 0.1,
  tau = 2,
  maxwdth = 200
)

Arguments

data.exp

dataframe with experimental data (format?)

override

force re-running of peak analysis

kerpk

number of kernels per peak (passed to Ramanpk())

fitmaxiter

number of max iterations while attempting fit (passed to Ramanpk())

gam

gam (passed to Ramanpk())

scl.factor

sclerosis factor (passed to Ramanpk())

tau

tau (passed to Ramanpk())

maxwdth

peak max width (passed to Ramanpk())

Value

a list of 4 elements (lists or dataframes)


chepec/renishaw documentation built on Sept. 1, 2022, 2:41 p.m.