![]() |
![]() |
|
PLS_Toolbox Documentation: testpeakdefs | < testfitpeaks | tld > |
testpeakdefs
Purpose
Checks peak parameters in a peak definition structure.
Synopsis
[out,msg,loc] = testpeakdefs(peakdef)
Description
TESTPEAKDEFS checks the consistency of the peak definitions in a peak definition structure and is useful for checking the initial guess for (peakdef). This function examines each record of a peak definition structure (peakdef) and determines:
1) if the lower bounds are lower than the initial guess (any parameters lower than the lower bounds is an error),
2) if the upper bounds are higher than the initial guess (any parameters higher than the upper bounds is an error), and
3) if the number of parameters in each peak definition are consistent with the corresponding peak function (peakdef.fun field).
INPUT:
OUTPUTS:
See Also
< testfitpeaks | tld > |