|
User Documentation |
||||||||
| prev file | next file | |||||||||
| SUMMARY: fields | routine DETAILS: routine | |||||||||
./toolbox File dcadd.pro
dcadd |
This procedure adds two data container's data arrays, returning the sum
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
sum = dcadd(a,b)
plot, sum
-
| Parameters | |
|
dc1 |
data container (spectrum or continuum) |
|
dc2 |
data container (spectrum or continuum) |