Documentation for /home/davin/idl/socware/

Generated by IDLdoc

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

projects/themis/spacecraft/particles/slices/

thm_part_slice2d_getvel.pro


Routines

top source thm_part_slice2d_getvel

result = thm_part_slice2d_getvel(ds, vel_data=vel_data, trange=trange, energy=energy, fail=fail)

Procedure: thm_part_slice2d_getvel Purpose: Helper function for thm_part_slice2d. Retrieves an average of the bulk velocity vectors over the slice's time range either from the particle structures or a user specified tplot variable. Input: ds: (pointer) Pointer array to particle distribution structures. trange: (double) Two element time range. vel_data: (string) Name of tplot variable containing bulk velocity data (in km/s). Output: return value: (float) Average bulk velocity vector (m/s) or -1 on error. Notes: thm_esa_slice2d divides total flux over the time range by the total density; here the flux/density was previously calculated for each distribution and is now averaged. $LastChangedBy: aaflores $ $LastChangedDate: 2014-07-31 11:16:59 -0700 (Thu, 31 Jul 2014) $ $LastChangedRevision: 15632 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/themis/spacecraft/particles/slices/thm_part_slice2d_getvel.pro $

Parameters

ds

Keywords

vel_data
trange
energy
fail

File attributes

Modification date: Tue Oct 21 13:53:35 2014
Lines: 38