|||
CALLING SEQUENCE: GETROT, Hdr, [ Rot, CDelt, /SILENT, DEBUG = ] or GETROT, Astr, Rot,CDelt...
(Calabretta & Greisen (2002, A&A, 395, 1077) FITs standard))
3.The ROUND function rounds the argument to its closest integer Result = ROUND(X [, /L64 ] )
The CURVEFIT function uses a gradient-expansion algorithm to compute a non-linear least squares fit to a user-supplied function with an arbitrary number of parameters. The user-supplied function may be any non-linear function where the partial derivatives are known or can be approximated. Iterations are performed until the chi square changes by a specified amount, or until a maximum number of iterations have been performed. The CURVEVIT function returns a vector of values for the dependent variables, as fitted by the function fit.
Result = CURVEFIT( X, Y, Weights, A [, Sigma] )
For instrumental (Gaussian) weighting, set Weights i = 1.0/standard_deviation( Y i ) 2 . For statistical (Poisson) weighting, Weights i = 1.0/ Y i . For no weighting, set Weights i = 1.0.
A vector with as many elements as the number of terms in the user-supplied function, containing the initial estimate for each parameter. On return, the vector A contains the fitted model parameters. If A is double-precision, calculations are performed in double-precision arithmetic, otherwise they are performed in single-precision arithmetic.
A named variable that will contain a vector of standard deviations for the elements of the output vector A .
Smooth The SMOOTH function returns a copy of Array smoothed with a boxcar average of the specified width. The result has the same type and dimensions as Array. The algorithm used by SMOOTH is:
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-12-27 02:53
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社