Produced by IDL 6.1
Developer Documentation

./guide
bmodel.pro

Last modification date:
Thu Jun 2 23:56:08 2005

bmodel

procedure bmodel, [modelindex=integer], [nfit=integer], [ok=variable]

Fill in the indicated data container at modelindex using the primary data container and the most recently fit parameters in !g.polyfit and and !g.nfit. Optionally use a smaller nfit than !g.nfit.

Examples
 ; put the model in !g.s[1]
 bmodel
 ; put the model in !g.s[10], using nfit=2
 boodel, modelindex=10, nfit=2
 
Uses
data_valid getbasemodel
Version
$Id: bmodel.pro,v 1.3 2005/04/26 19:12:27 bgarwood Exp $

Keywords
modelindex
in, optional
integer (def. 1)
The index of the data container to use to hold the model. Defaults to 1 if not supplied.
nfit
in, optional
integer
Only use at most nfit parameters. If !g.nfit is < nfit, then only !g.nfit parameters will be used and a warning will be issued.
ok
out, optional
variable
1 on success, 0 on failure.


Produced by IDLdoc 1.6 on Thu Jun 2 23:56:12 2005