Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
cafegetvalidparam
return index for valid parameters
cafe
fit/error
param=cafegetvalidparam( env)
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.
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.
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.
None.
$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()
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]