RaDec2Q:

Path: AerospaceUtils/Coord

% Right ascension and declination to a quaternion.
 If right ascension and declination are defined in frame a, and u
 is fixed in frame b, q transforms from frame a to b such that u lies
 along the vector determined by (rA,dec) in frame a.

 Since version 1.
--------------------------------------------------------------------------
   Form:
   q = RaDec2Q( u, rA, dec )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   u                   (3,1)    Vector in question
   rA                  (1,1)    Right ascension (radians)
   dec                 (1,1)    Declination  (radians)

   -------
   Outputs
   -------
   q                   (4,1)    Equivalent quaternion

--------------------------------------------------------------------------

Children:

Common: Transform/RaDec2U

Back to the AerospaceUtils Module page