[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


model_data2 Source code in cafe_model_data2.pro

model_data2

Name
           model_data2
Purpose
           Use separate 2-dimensional data in distinct group as fit model.
Category
           CAFE
SUBCATEGORY:
           fitmodel
Input Parameters
           x         - Input x value array. Should be double precision.
           parameter - Parameter to compute model. Must contain 1
                       value.
Calling Sequence
           data:grp - group using to get data. !! THIS
                      PARAMETER MUST BE FIXED AND INTEGER !!!
                      (Otherwise the fit algorithm tries to
                      vary the group - would be quite interesting...)
                      It is prudent not to define a model for
                      the group which contains these data.
Output Parameters
           y = data[x].
           To allow arbitrary x-values 2-dimensional interpolation will be
           used. There are implemented different forms of
           interpolation (see SETUP).
SETUP:
           The way of interpolation can be defined via setup
           parameter (use set,key=val). The command prefix is "data2d".
           intlin : (default) The interpolation is done by first
                    creating Delaunay triangles for the model data
                    points. For each input x-value (2-tuples) the
                    enclosing triangle is searched and a linear
                    interpolation between the data points
                    performed. For x-values outside the  hull of the
                    data set z-values of closest data point are used.
                    Don't expect high accuracy (not recomended for
                    fitting).
              tps : Use thin plate spline interpolation (function
                    min_cur_surf(../tsp)).
           curmin : Use minimal curvature interpolation (function
                    min_cur_surf).
Side Effects
           None
Revision History
           $Id: cafe_model_data2.pro,v 1.6 2004/06/08 17:09:37 goehler Exp $

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

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

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