[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


cafe_minimize_chisqdx Source code in cafe_minimize_chisqdx.pro

cafe_minimize_chisqdx

Name
           cafe_minimize_chisqdx
Purpose
           chi^2 metric function which takes x-error (dx) also into
           account
Category
           cafe
SYNTAX:
           minimize,chisqdx
Input Parameters
           - x, y, error, model(x),x_error
           - parameter of the model
Output Parameters
           Returns the chi^2-value for given set of parameters:
           chi^2 = sum((y-model(x))^2/err^2)
           The error err is constructed by:
           err^2 = error^2 + (d(model)/dx * x_error)^2
           (R. Bevington, p. 100).
Side Effects
           None.
Revision History
           $Id: cafe_minimize_chisqdx.pro,v 1.2 2005/01/04 10:56:05 goehler Exp $

Last modified by pro2html on 2005 January 04 at 16:09 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms ([email protected])
Updated automatically