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:

SC: Sensor/U2Pix
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/DeBlankLT
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/TitleS
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Transform/RaDec2U

Back to the SpacecraftEstimation Module page