Documentation for /home/davin/idl/socware/

Generated by IDLdoc

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

general/misc/

time_average.pro


Function: time_average Calculates a bin based average over time series data Uses a histogram internally so it should be pretty quick Arguments: time: the time array for the input timeseries data: the data array for the input timeseries newtime(optional): named variable in which to return the times for each bin upon which an average is calculated trange(optional): a time range over which the average is performed resolution(optional): the size of each bin in seconds ret_total(optional): named variable in which totals for each bin are returned ret_min(optional): named variable in which mins for each bin are returned ret_med(optional): named variable in which medians for each bin are returned $LastChangedBy: aaflores $ $LastChangedDate: 2012-01-24 09:39:41 -0800 (Tue, 24 Jan 2012) $ $LastChangedRevision: 9596 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/misc/time_average.pro $

Routines

top source time_average

result = time_average(time, data, newtime=newtime, trange=trange, resolution=resolution, ret_total=ret_total, ret_min=ret_min, ret_median=ret_median)

Parameters

time
data

Keywords

newtime
trange
resolution
ret_total
ret_min
ret_median

File attributes

Modification date: Thu Feb 13 16:43:48 2014
Lines: 41