RADecToPix:

Path: SpacecraftEstimation/StellarEphem

% Convert right ascension and declination to pixels. 
 The z-axis is along the boresight and the x and y axes are in the
 focal plane.
------------------------------------------------------------------------
   Form:
   d = RADecToPix( x, pixels, fOV )
------------------------------------------------------------------------

   ------
   Inputs
   ------
   x               (2,:)       [rA;dec]
   pixels          (1,1)       Pixels in fOV
   fOV             (1,1)       Square field-of-view (rad)

   -------
   Outputs
   -------
   d               (2,:)       [x;y]
  
------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D
Common: Transform/RaDec2U
SC: Sensor/U2Pix

Back to the SpacecraftEstimation Module page