![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
![]() |
cafegetchisq
compute chi^2 value for current parameters/data
cafe
show/fit
param=cafegetchisq( env)
env - Environment containing parameters.
selected - Compute Chi^2 for selected data points only
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)
none.
$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
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]