external/CDAWlib/
fuv_rotation_matrix.pro
NAME: fuv_rotation_matrix PURPOSE: this procedure prepares the rotation matrix which gives the look directions for the IMAGE FUV instruments CATEGORY: CALLING SEQUENCE: transformation_matrix=fuv_rotation_matrix(omega,theta,$ phi,scsv_x,scsv_y,scsv_z,sc_x,sc_y,sc_z,psi) INPUTS: omega : instrument roll in degrees, fixed in time theta : instrument tilt in degrees, fixed in time phi : instrument azimuth in degrees direction cosines of true spin axis in metal system scsv_x = henry's a scsv_y = henry's b scsv_z = henry's c direction cosines of true spin axis in inertial GCI system sc_x = henry's d sc_y = henry's e sc_z = henry's f psi : phase angle in degrees OPTIONAL INPUTS: none KEYWORD PARAMETERS: none OUTPUTS: transformation_matrix OPTIONAL OUTPUTS: none COMMON BLOCKS: none SIDE EFFECTS: none known RESTRICTIONS: we here use the "right mathematical" way of preparing and using a matrix (IDL ##), not the usual IDL way (#) for the moment this looks awful, but provides better comparison with C-code all input vector components have to describe unit vectors and should be given in double precision PROCEDURE: EXAMPLE: SEE ALSO: MODIFICATION HISTORY: Written by: hfrey, using the mathematics developed by H. Heetderks Date: January 4, 2000 June 4, 2000 transform all angles into radians Written by; rburley, replaced 'stop' statements with return,-1 so science data processing is not halted by missing or bad data. Date: January 9, 2001 Copyright 1996-2013 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved.
Routines
File attributes
Modification date: | Tue Oct 21 13:53:48 2014 |
Lines: | 59 |