general/science/
convert_vframe.pro
NAME: convert_vframe FUNCTION: convert_vframe , dat, velocity PURPOSE: Change velocity frames INPUT: dat: 3d data structure velocity: SW velocity vector [VX,VY,VZ] OUTPUT: 3d data structure. Data will be in a different coordinate frame. (data will also be in units of distrubution function.) KEYWORDS: ETHRESH: Threshold energy for interpolation. BINS: Angle bins to be used EVALUES: INTERPOLATE: set to non-zero value to have the data evaluated (interpolated) at the original energy steps. CREATED BY: Davin Larson LAST MODIFICATION: @(#)convert_vframe.pro 1.21 02/11/01
Routines
Routines from convert_vframe.pro
transform_velocity, vel, theta, phi, deltav, VX=VX, VY=VY, VZ=VZ, sx=sx, sy=sy, sz=sz
NAME: transform_velocityPROCEDURE: transform_velocity, vel, theta, phi, deltavPURPOSE: used by the convert_vframe routine to transform arrays of velocity thetas and phis by the offset deltavINPUT: vel: array of velocities theta: array of theta values phi: array of phi values deltav: [vx,vy,vz] (transformation velocity)KEYWORDS: vx,vy,vz: return vx,vy,vz separately as well as in vector formCREATED BY: Davin LarsonLAST MODIFICATION: @(#)convert_vframe.pro 1.21 02/11/01
result = convert_vframe(tdata, vframe, EVALUES=EVALUES, e_shift=e_shift, sc_pot=sc_pot, INTERPOLATE=INTERPOLATE, EXTRAPOLATE=EXTRAPOLATE, ethresh=ethresh, dfdv=dfdv, bins=bins)
Routine details
top source transform_velocity
transform_velocity, vel, theta, phi, deltav, VX=VX, VY=VY, VZ=VZ, sx=sx, sy=sy, sz=sz
NAME: transform_velocity PROCEDURE: transform_velocity, vel, theta, phi, deltav PURPOSE: used by the convert_vframe routine to transform arrays of velocity thetas and phis by the offset deltav INPUT: vel: array of velocities theta: array of theta values phi: array of phi values deltav: [vx,vy,vz] (transformation velocity) KEYWORDS: vx,vy,vz: return vx,vy,vz separately as well as in vector form CREATED BY: Davin Larson LAST MODIFICATION: @(#)convert_vframe.pro 1.21 02/11/01
Parameters
- vel
- theta
- phi
- deltav
Keywords
- VX
- VY
- VZ
- sx
- sy
- sz
top source convert_vframe
result = convert_vframe(tdata, vframe, EVALUES=EVALUES, e_shift=e_shift, sc_pot=sc_pot, INTERPOLATE=INTERPOLATE, EXTRAPOLATE=EXTRAPOLATE, ethresh=ethresh, dfdv=dfdv, bins=bins)
Parameters
- tdata
- vframe
Keywords
- EVALUES
- e_shift
- sc_pot
- INTERPOLATE
- EXTRAPOLATE
- ethresh
- dfdv
- bins
File attributes
Modification date: | Thu Feb 13 16:43:39 2014 |
Lines: | 88 |