FitPSFToData:

Path: Imaging/PSFUtils

% Refine the pixel fit numerically using fminsearch.

 Type FitPSFToData for a demo of a single pixel.

--------------------------------------------------------------------------
   Form:
    r = FitPSFToData( r0, int, pixels, d, options )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r0      (2,:)   Initial centroid positions (in pixels)
   int     (1,:)   Intensities from star IDs
   pixels  (:,:)   Pixel map
   d        (.)    Data structure
                   .nUse (1,1) Number of rows to use
                   .mUse (1,1) Number of columns to use
   options	(1,3)   Options for fminsearch [tolX, tolFun, numIterations]

   -------
   Outputs
   -------
   r       (2,:)   Refined centroid positions

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

Children:

SpacecraftEstimation: StellarAttDet/StarCentroidCOM
Common: General/DeBlankLT
Common: Graphics/NewFig
Common: Graphics/PltStyle
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Imaging: PSFUtils/ImagerPSF
Imaging: PSFUtils/RHSGaussianPSF

Back to the Imaging Module page