Produced by IDL 7.1.1
User Documentation

./toolbox
dcpaircheck.pro

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

dcpaircheck

function dcpaircheck(dc1, dc2, msg)

This procedure checks both data containers to see if their data arrays can be used for mathematical functions, such as dcadd, dcsubtract, etc.

Returns
0 - pair is incompatible; 1 - pair is compatible
Examples
    get, index=1
    a = data_new()
    data_copy,!g.s[0],a
    show,a
    get, index=2
    b = data_new()
    data_copy,!g.s[0],b
    show,b
    status = dcpaircheck(a,b,msg)
    if (status ne 1) then print, msg 
    "data containers must contain data of equal length" 
 
Version
$Id$

Parameters
dc1
in, required
data container
data container (spectrum or continuum)
dc2
in, required
data container
data container (spectrum or continuum)
msg
out, required
variable
string containing error if found


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