[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


cafegetvalidparam Source code in cafegetvalidparam.pro

cafegetvalidparam

Name
           cafegetvalidparam
Purpose
           return index for valid parameters
Category
           cafe
SUBCATEGORY:
           fit/error
SYNTAX:
           param=cafegetvalidparam( env)
Input Parameters
           env      - Environment containing parameters.
           params   - Index of parameter which should be taken into
                      account. Only a subset of this indices is
                      returned.
                      If not given all parameters are taken into account.
OPTIONS:
           selected - Take only selected datapoints into account
           free     - Return only free parameter indices, i.e. those
                      parameter which are neither tied nor fixed.
           nodata   - Return also parameters for models which are in
                      groups containing no data.
Output Parameters
           Returns index of parameters which are valid, i.e. could be
           used for fitting. Valid parameters are those with
           1.) a defined name
           2.) belonging to models which could be applied to existing
               data.
           If we do not take the latter into account we run into
           trouble when a model is defined but no data are
           available. This means that the model will run with free
           parameters though fitting does not change the Chi^2.
Side Effects
           None.
Revision History
           $Id: cafegetvalidparam.pro,v 1.4 2005/01/04 10:56:05 goehler Exp $
 $Log: cafegetvalidparam.pro,v $
 Revision 1.4  2005/01/04 10:56:05  goehler
 fix: make shure all (internal) routines are properly documented
 Revision 1.3  2004/02/10 07:51:18  goehler
 added option "nodata" which does not ignore groups containing a model but on data.
 Might be usefull when building complex models refering to other models.
 Revision 1.2  2003/05/13 11:50:50  goehler
 add: allow groups without data if all parameters are fixed
 Revision 1.1  2003/04/29 07:58:19  goehler
 change/fix: ignore groups with undefined data points or non-existing models
             The determination of valid parameters is performed in new
             function cafegetvalidparam()

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

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

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