Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
TRIPP_FIT_SINUS
provide sinus function as needed for input by TRIPP_CURVEFIT
auxilary fitting routine
tripp_fit_sinus,x,a,f,pder
X = Variable passed into CURVEFIT. It is the job of tripp_fit_sinus to interpret this variable. A = Vector of NTERMS function parameters.
F = Vector of NPOINT values of function, y[i] = funct(x), output. PDER = Array, (NPOINT, NTERMS), of partial derivatives of funct. PDER[I,J] = Derivative of function at ith point with respect to jth parameter. Optional output parameter. PDER should not be calculated if the parameter is not supplied in call. If the /NODERIVATIVE keyword is set in the call to CURVEFIT then the user routine will never need to calculate PDER.
Version 1.0, 1999/07,Stefan Dreizler Version 1.1, 2001/02,Stefan Dreizler, corrected sign error 2006/11,Sonja Schuh, some optimization: define pder outside of loop now, merged two loops into one, deleted dfda helper arrays and ifs in loop
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]