[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


minimize Source code in cafe_minimize.pro

minimize

Name
           minimize
Purpose
           Tries to minimize a specific metric (e.g. chi^2) by
           changing model parameters.
Category
           cafe
SYNTAX:
           minimize, metric [,iterations][,/selected][,/quiet]
Input Parameters
           metric     - The operator which maps the data/model to an
                        value which is to be minimized.
           iterations - (optional) Number of iterations to perform maximally.
OPTIONS:
           quiet      - Do not show fit processing.
           selected   - Apply fit to selected data points only.
           nodata     - Take also models into account which are in
                        groups containing no data. May be usefull
                        when building complex models refering one to
                        other.
           ftol       - Tolerance when to stop minimization. Default: 1E-4
           iterstop   - Stop when key 'q' pressed. Default true.
SETUP:
           All inputs/options may be set with the "set" command. The
           command prefix is "minimize".
Description
           This command is intended as a meta-fit utility which
           allows to minimize the data/model relation using different
           metrics, e.g. the chi2-metric represents quadratic
           distance measurements.
Side Effects
           Changes parameter values in environment
           according minimisation result.
REMARK:

Example
               > model, "sin+lin", 2
               > minimize,chi2
                 -> fit result
               > plot,data+model,res
Revision History
           $Id: cafe_minimize.pro,v 1.5 2005/02/16 13:37:18 goehler Exp $

Last modified by pro2html on 2005 February 17 at 04:15 UTC

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

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically