|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox data_copy.pro
DATA_COPY |
Copy the data container from in to out. This procedure can be used to generate a new data container, or to copy one data container into an existing data container. However, it cannot be used to copy into one of the global data containers. To copy a data container stored as a local variable into a global data container, use the procedure set_data_container.
get, mc_scan=22, cal='F', sig='T', pol='XX', if_num=1, int=1 ; sig data_copy,!g.s[0],spec a = getdcdata(spec) a = a * 2.0 setdcdata,spec,a show,spec data_free, spec ; clean up memory