projects/themis/spacecraft/particles/slices/
thm_part_slice2d_cotrans.pro
Procedure: thm_part_slice2d_cotrans Purpose: Helper function for thm_part_slice2d. Performs coordinate transformations from DSL to requested coordinates (COORD keyword to thm_part_slice2d). Input: probe: (string) spacecraft designation (e.g. 'a') coord: (string) target coordinates (e.g. 'gsm') trange: (double) two element time range for slice vectors: (float) N x 3 array of velocity vectors bfield: (float) magnetic field 3-vector vbulk: (float) bulk velocity 3-vector sunvec: (float) spacecraft-sun direction 3-vector Output: If 2d or 3d interpolation are being used then this will transform the velocity vectors and support vectors into the target coordinate system. The transformation matrix will be passed out via the MATRIX keyword. Notes: This assumes the transformation does not change substantially over the time range of the slice. $LastChangedBy: aaflores $ $LastChangedDate: 2014-02-26 18:49:55 -0800 (Wed, 26 Feb 2014) $ $LastChangedRevision: 14451 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/themis/spacecraft/particles/slices/thm_part_slice2d_cotrans.pro $
Routines
File attributes
Modification date: | Thu Mar 13 16:35:36 2014 |
Lines: | 40 |