Produced by IDL 6.1
User Documentation

./guide
File subtract.pro

Last modification date:
Wed Dec 8 11:45:05 2004


subtract

procedure subtract

This procedure subtracts the data of the second data container (spectrum or continuum depending on !g.line) from the first and stores the result in the first data container. For example, in spectral line mode, this is equivalent to: *(!g.s[0]).data_ptr = *(!g.s[0]).data_ptr - *(!g.s[1]).data_ptr

Examples
    get,index=1
    copy,0,1
    get, index=2
    subtract
 
Uses
dcsubtract dcpaircheck
Version
$Id: subtract.pro,v 1.1 2004/12/08 16:45:05 paghots Exp $


Produced by IDLdoc 1.5 on Wed Dec 8 13:08:15 2004