CalibrateSunSensor:

Path: SCPro/ProSensors

% Calibrate a sun sensor
 find coefficients assuming a power law calibration.

 The detector 1 measurement is assumed of the form:

 f1 = t1(1) + t1(2)*cos(angle+alpha1)+ t1(3)*cos(angle+alpha1)^2 + ...

 Type CalibrateSunSensor for a demo.

--------------------------------------------------------------------------
   Form:
   [t, err] = CalibrateSunSensor( n, f, angle )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   n     (1,1)     Number of terms
   f    	(1,:)     Detector measurements
   angle	(1,:)     Angle of measurements from the normal (rad)

   -------
   Outputs
   -------
   t     (1,n+1)   Detector coefficients [constant linear square ...]
   err   (1,1)     Mean errro

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

Children:

Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle

Back to the SCPro Module page