projects/themis/spacecraft/particles/slices/
thm_part_slice2d_geo.pro
Routines
top source thm_part_slice2d_geo
thm_part_slice2d_geo, data=data, resolution=resolution, rad=rad, phi=phi, theta=theta, dr=dr, dp=dp, dt=dt, ct=ct, rot=rot, mt=mt, displacement=displacement, average_angle=average_angle, part_slice=part_slice, xgrid=xgrid, ygrid=ygrid, fail=fail, msg_obj=msg_obj, msg_prefix=msg_prefix, _extra=_extra
Name: thm_part_slice2d_geo.pro Purpose: Helper function for thm_part_slice2d.pro Produces slice using each bin's boundaries. Input: data: N element array of data values rad: N element array of radial values phi: N element array of phi values theta: N element array of theta values dp: N element array of phi ranges dt: N element array of theta ranges dr: N element array of velocity ranges resolution: Single value (R) giving the number of points in each dimension of the slice average_angle: Two element array specifying an angle range over which averaging will be applied. The angle is measured from the slice plane and about the slice's x-axis. e.g. [-25,25] will average data within 25 degrees of the slice plane about it's x-axis ct: Rotation matrix from DSL -> desired coordinates rot: Rotation matrix from given coordinates to specific rotation (e.g. DSL, GSM -> BV, perp_xy) mt: Rotation matrix from specified coords/rotation into the slice plane's coordinates Output: xgrid: R element array of x-axis values for the slice ygrid: R element array of y-axis values for the slice part_slice: RxR element array containing the slice data Other Keywords: msg_obj: Object reference to GUI message bar. If included useful console messages will also be output to GUI. msg_prefix: String prefix to be printed with progress messages. Caveats: This routine will slow as the number of bins (N) increases. Averaging will significantly lengthen the require time.
Keywords
- data
- resolution
- rad
- phi
- theta
- dr
- dp
- dt
- ct
- rot
- mt
- displacement
- average_angle
- part_slice
- xgrid
- ygrid
- fail
- msg_obj
- msg_prefix
- _extra
File attributes
Modification date: | Thu Feb 13 16:42:44 2014 |
Lines: | 91 |