projects/themis/spacecraft/particles/ESA/thm_esa_slice2d/
thm_dat_avg.pro
Name: thm_dat_avg.pro Purpose: Averages data from tplot variable over specified time range and returns value. Calling Sequence: result = thm_dat_avg( tplot_var, time1, time2 [,interpolate=interpolate]) Arguments: tplot_var: String containing the name of valid tplot variable time1: String or double precision number specifying a time range boundary time2: String or double precision number specifying a time range boundary (time1 / time 2 may be in any order) Keywords: interpolate: Flag to attempt interpolation from data outside the specifed range if none is found within. At least 20 min or half the specified range will be checked past both time limits. Example: t1 = '2008-4-12/02:00' t0 = '2008-4-12/01:00' bfield_ave = thm_dat_avg('tha_fgs', t0, t1)
Routines
File attributes
Modification date: | Tue Oct 21 13:53:35 2014 |
Lines: | 54 |