varpro_opts: Return a list of options for VARPRO based fitting.

View source: R/varpro.R

varpro_optsR Documentation

Return a list of options for VARPRO based fitting.

Description

Return a list of options for VARPRO based fitting.

Usage

varpro_opts(
  nstart = 20,
  init_g_damping = 2,
  maxiters = 200,
  max_shift = 5,
  max_g_damping = 5,
  max_ind_damping = 5,
  anal_jac = TRUE,
  bl_smth_pts = 80
)

Arguments

nstart

position in the time-domain to start fitting, units of data points.

init_g_damping

starting value for the global Gaussian line-broadening term - measured in Hz.

maxiters

maximum number of levmar iterations to perform.

max_shift

maximum shift allowed to each element in the basis set, measured in Hz.

max_g_damping

maximum permitted global Gaussian line-broadening.

max_ind_damping

maximum permitted Lorentzian line-broadening for each element in the basis set, measured in Hz.

anal_jac

option to use the analytic or numerical Jacobian (logical).

bl_smth_pts

number of data points to use in the baseline smoothing calculation.

Value

list of options.

Examples

varpro_opts(nstart = 10)

martin3141/spant documentation built on April 14, 2024, 4:15 a.m.