Produced by IDL 7.1.1
User Documentation

./toolbox
data_valid.pro

Last modification date:
Wed Sep 28 13:27:10 2016

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_STRUCT' or 'CONTINUUM_STRUCT'.

Returns
n_elements(*data_ptr) if valid and -1 if invalid. (hence if the return value is = 0 it's undefined).
Version
$Id$

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_STRUCT' or 'SPECTRUM_STRUCT'.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:38 2016