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

Description Usage Arguments Value Examples

View source: R/varpro.R

Description

Return a list of options for VARPRO based fitting.

Usage

1
2
3
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

1
varpro_opts(nstart = 10)

neuroconductor/spant documentation built on Sept. 2, 2019, 4:15 p.m.