Produced by IDL 6.1
User Documentation

./guide
getbasemodel.pro

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

getbasemodel

function getbasemodel([nfit=integer], [ok=variable])

Function to return the polynomial using the most recently fitted baseline coefficients and !g.nfit or the nfit keyword using the data in the primary data container. This function is used in all of the GUIDE baseline related functions but may also be useful in other uses.

Returns
Array corresponding to the polynomial at !g,polyfit through nfit evaluated at all of the channels in the primary data container. Returns -1 on failure (ok will be 0).
Uses
ortho_poly data_valid
Version
$Id: getbasemodel.pro,v 1.1 2005/04/26 19:12:27 bgarwood Exp $

Keywords
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:47 2005