[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


cafegetchisq Source code in cafegetchisq.pro

cafegetchisq

Name
           cafegetchisq
Purpose
           compute chi^2 value for current parameters/data
Category
           cafe
SUBCATEGORY:
           show/fit
SYNTAX:
           param=cafegetchisq( env)
Input Parameters
           env      - Environment containing parameters.
           selected - Compute Chi^2 for selected data points only
Output Parameters
           Returns Chi^2, i.e. squared normalized deviation sum
           between data y values and model.
           chi^2 = sum((y_i - f(x_i))/err_i)
Side Effects
           none.
Revision History
           $Id: cafegetchisq.pro,v 1.8 2005/01/04 10:56:05 goehler Exp $
 $Log: cafegetchisq.pro,v $
 Revision 1.8  2005/01/04 10:56:05  goehler
 fix: make shure all (internal) routines are properly documented
 Revision 1.7  2003/04/25 18:38:36  goehler
 safer estimation of chi^2 when error is zero
 Revision 1.6  2003/03/03 11:18:33  goehler
 major change: environment struct has become a pointer -> support of wplot/command line
 in common.
 Branch to be able to maintain the former line also.
 Revision 1.5  2002/09/10 13:24:35  goehler
 updated name convention:
 - the command name for all commands
 - the command name + "_" + subcommand name for all subcommands
 Revision 1.4  2002/09/10 13:06:47  goehler
 removed ";-" to make auxilliary routines invisible
 Revision 1.3  2002/09/09 17:36:19  goehler
 public version: updated help matching aitlib html structure.
 common version: 3.0

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

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

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