|
User Documentation |
|||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox dcsubtract.pro
| dcsubtract |
This procedure subtracts the second data container's data array from the first, returning the results.
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
diff = dcsubtract(a,b)
plot,a
| Parameters | |
|
dc1 |
data container (spectrum or continuum) |
|
dc2 |
data container (spectrum or continuum) |