Produced by IDL 6.1
User Documentation

./toolbox
data_valid.pro

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

DATA_VALID

function DATA_VALID(data_struct, [name=variable])

Check to see if the argument is a recognized data structure. A data structure is invalid if its name is not 'SPECTRUM' or 'CONTINUUM'.

Returns
n_elements(*data_ptr) if valid and -1 if invalid. (hence if the return value is = 0 it's undefined).
Version
$Id: data_valid.pro,v 1.7 2005/01/20 20:35:14 bgarwood Exp $

Parameters
data_struct
in, required
data structure
The structure check.

Keywords
name
out, optional
variable
Holds the structure name when used in the call. This will be either 'CONTINUUM' or 'SPECTRUM'.


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