Documentation for /home/davin/idl/socware/

Generated by IDLdoc

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

projects/themis/state/cotrans/

sse2sel.pro


procedure: sse2sel Purpose: Coordinate transformation between SSE & SEL coordinates(and the inverse) SSE is defined as: X: Moon->Sun Line Y: Ecliptic North cross X Z: X cross Y SEL is defined as: X: TBD Y: TBD Z: TBD inputs: name_in: Name of input tplot variable to be transformed or as an array of data [t,x,y,z] name_sun_pos: Name of the sun position tplot variable in GEI coordinates or as an array of data [t,x,y,z] name_moon_pos: Name of the moon position tplot variable in GEI coordinates or as an array of data [t,x,y,z] name_lun_att_x: Name of the SEL X-axis tplot variable in GEI coordinates or as an array of data [t,x,y,z] name_lun_att_z: Name of the SEL Z-axis tplot variable in GEI coordinates or as an array of data [t,x,y,z] name_out: Name that the rotated variable should take. keywords: /SEL2SSE inverse transformation /IGNORE_DLIMITS: Dlimits normally used to determine if coordinate system is correct, to decide if position needs offset, or to stop incorrect transforms. This option will stop this behavior. This keyword is only used with tplot variables and ignored if array data is input Examples: sse2sel,'tha_state_pos_sse','slp_sun_pos','slp_lun_pos','slp_lun_att_x','slp_lun_att_z','tha_state_pos_sel' sse2sel,'tha_state_pos_sel','slp_sun_pos','slp_moon_pos','slp_lun_att_x','slp_lun_att_z','tha_state_pos_sse',/sel2sse,/ignore_dlimits Or for vector data sse2sel,pos_sse,sun_pos,lun_pos,lun_att_x,lun_att_z,pos_sel sse2sel,pos_sel,sun_pos,lun_pos,lun_att_x,lun_att_z,pos_sse, /sel2sse Notes: #1 Uses tvector_rotate, and sse_matrix_make to perform the rotation. tvector_rotate will also interpolate the rotation matrix onto the time-grid of the input. Interpolation done using quaterions and the spherical linear interpolation algorithm (SLERP) #2 If vector data is input the IGNORE_LIMITS keyword is not used. Adapted from gse2sse, written by Jenni Kissinger and Patrick Cruce $LastChangedBy: jwl $ $LastChangedDate: 2012-06-04 10:25:21 -0700 (Mon, 04 Jun 2012) $ $LastChangedRevision: 10492 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/themis/state/cotrans/sse2sel.pro $

Routines

top source sse2sel

sse2sel, name_in, name_sun_pos, name_moon_pos, name_lun_att_x, name_lun_att_z, name_out, sel2sse=sel2sse, ignore_dlimits=ignore_dlimits

Parameters

name_in
name_sun_pos
name_moon_pos
name_lun_att_x
name_lun_att_z
name_out

Keywords

sel2sse
ignore_dlimits

File attributes

Modification date: Thu Feb 13 16:42:30 2014
Lines: 83