Learn R Programming

LIHNPSD (version 0.2.1)

LIHNPSD_standardfit_fn: Internal utility to perform nonlinear fit using spg

Description

Internal utility to perform nonlinear fit using spg

Usage

LIHNPSD_standardfit_fn(psd, data_stats, hist, plotqq = 1, weights = list(), merge_tails = c(0, 0), debug = 0)

Arguments

psd
An internal array representing a guess of the PSD parameters
data_stats
The descriptive statistics of the input data
hist
Input histogram
plotqq
TRUE/FALSE: Plot intermediate charts oor not
weights
Specify the weights of each component in the nonlinear fit, defaults are 1.
merge_tails
Specify the numbers of data points to merge in both tails when processing histogram
debug
TRUE/FALSE: print debug messages or not

Value

See Also

standardfit