FitPSFToData:

Path: Imaging/PSFUtils

% Refine the pixel fit numerically using fminsearch.

   Type FitPSFToData for a demo of a single pixel.

   Since version 2014.1.
--------------------------------------------------------------------------
   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:

Imaging: PSFUtils/ImagerPSF
Imaging: PSFUtils/RHSGaussianPSF
SpacecraftEstimation: StellarAttDet/StarCentroidCOM

Back to the Imaging Module page