Produced by IDL 6.1
User Documentation

./guide
File accum.pro

Last modification date:
Fri Nov 19 11:20:49 2004


accum

procedure accum[, weight], [/noweight]

Accumulate the data in !g.s[0] into the global accum buffer, !g.accumbuf. If this is the first item in, it will also be used as a template, stored in !g.accum_template. This combines the UniPOPS functionality of ACCUM and SUM. The SUM name is already in use in IDL.

Examples
average some data
   sclear
   get,index=1
   accum
   get,index=2
   accum
   ave 
 
Uses
accumulate
Version
$Id: accum.pro,v 1.3 2004/11/19 16:20:49 bgarwood Exp $

Parameters
weight
in, optional
float
The weight to use for this data. If this is not set, a weight of exposure/Tsys^2 will be used unless the noweight keyword is set.

Keywords
noweight
in, optional
boolean
If this is set, then the weight is set to 1.0 and and weight keyword value is ignored. When the procedure knows this to be true, some multiplications can be skipped and it should run somewhat faster.


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