LIHNPSD_standardfit_fn: Internal utility to perform nonlinear fit using spg

Description Usage Arguments Value See Also

View source: R/LIHNPSD.r

Description

Internal utility to perform nonlinear fit using spg

Usage

1
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

A numeric value representing the error of the fit

See Also

standardfit


LIHNPSD documentation built on May 2, 2019, 9:12 a.m.