ADCull:

--------------------------------------------------------------------------
   Eliminate HSA measurements that do not fit the predicted curves. You need
   a rough attitude estimate to use this routine effectively.
   This routine uses the leading edge data as the reference. dev
   is the fractional deviation from the estimated data.
--------------------------------------------------------------------------
   Form:
   [tLE1Cull, tTE1Cull, tLE2Cull, tTE2Cull] =
   ADCull( el, jDEpoch, tLE1, tTE1, tLE2, tTE2, sA, jD, spinRate,
           cant, dihedral, rA, dec, dev )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   el                     Keplerian elements
   jDEpoch                Epoch for the measurements
   tLE1           (n,1)   Leading edge time HSA 1
   tTE1           (n,1)   Trailing edge time HSA 1
   tLE2           (n,1)   Leading edge time HSA 2
   tTE2           (n,1)   Trailing edge time HSA 2
   sA                     Sun angles (rad)
   jD                     Julian dates corresponding to the above
   spinRate               Spin rate (rad/sec)
   cant           (2)     Cants
   dihedral       (2)     Dihedral angles
   rA                     Estimated right ascension
   dec                    Estimated declination
   dev                    Allowable fractional deviation from the estimated data

   -------
   Outputs
   -------
   tLE1Cull               Culled leading edge times HSA 1
   tTE1Cull               Culled trailing edge times HSA 1
   tLE2Cull               Culled leading edge times HSA 2
   tTE2Cull               Culled trailing edge times HSA 2

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

Children:

Common: Graphics/NewFig
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Transform/RaDec2U
Math: Linear/Dot
SC: Sensor/HSAData