Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

general/tools/misc/

average.pro


Routines

top source average

result = average(x, d, nan=nan, stdev=stdev, do_stdev=do_stdev, double=double, total=total, weight=weight, ret_median=ret_median, ret_total=ret_total, ret_min=ret_min, nsamples=nsamples)

FUNCTION average(array,d [,STDEV=stdev] [,/NAN]) PURPOSE: Returns the average value of an array. The input array can be an array of structures Similar to TOTAL, but returns the average over the given dimension. Also returns standard deviation via an optional keyword argument. Works with structures only if d eq 0 Notes: $LastChangedBy: aaflores $ $LastChangedDate: 2012-01-24 09:45:58 -0800 (Tue, 24 Jan 2012) $ $LastChangedRevision: 9598 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/tools/misc/average.pro $

Parameters

x
d

Keywords

nan
stdev
do_stdev
double
total
weight
ret_median
ret_total
ret_min
nsamples

File attributes

Modification date: Thu Feb 13 16:43:14 2014
Lines: 71