FP2RADec:

Path: SC/Sensor

% Converts focal plane coordinates into right ascension/declination of the targets.
 If no outputs are specified it will create a 3D plot of the
 unit vectors for the inputs. In the focal plane the vectors
 x = [0;1;0] and y = [sin(decC);0;-cos(decC)] define the sysstem
 of coordinates that is used to measure the plate and which is 
 oriented North-SOutha and East-West.
--------------------------------------------------------------------------
   Form:
   [ra, dec] = FP2RADec( rAC, decC, x, y, f )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   rAC       (1,1)   Right ascension of the camera axis (rad)
   decC      (1,1)   Declination of the camera axis (rad)
   x         (n)     X coordinate
   y         (n)     Y Coordinate
   f         (1,1)   Focal length

   -------
   Outputs
   -------
   rA         (n)    Right ascension ( 0 to 2*pi) (rad)
   dec        (n)    Declination (rad)

--------------------------------------------------------------------------
	References:	Montenbruck, O. and T. Fleger, "Astronomy on the Personal
               Computer", Spring-Verlag, 1994, p 255.
--------------------------------------------------------------------------

Children:

Common: General/DeBlankLT
Common: Graphics/NewFig
Common: Graphics/PltStyle
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Transform/RaDec2U

Back to the SC Module page