>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  FIXANG
Libraries

FIXANG

FIXANG

Name


      FIXANG

Purpose


      Fix angle discontinuety at 0-360.

Category


Calling Sequence


      b = fixang(a)

Inputs


      a = input array of angles. in

Keyword Parameters


Keywords


        /RADIANS means angles are in radians.
        CIRCLE=mx For units other than deg (def) or radians give
          the value of angle a for one rotation (number of units
          in a circle).

Outputs


      b = array of angles with discontinueties removed. out

Common Blocks


Notes


      Notes: Assumes no valid delta angle GT 180 deg.
        Looks for large jumps in the angle. Offset each
        section to match one before. Angles may not be in
        the range 0 to 360 when done.

Modification History


      Ray Sterner 13 Aug, 1985.
      R. Sterner, 14 May, 1993 --- Cleaned up a little bit.
      R. Sterner, 1998 May 8 --- Added new keyword /RADIANS.
      R. Sterner, 2008 Apr 23 --- Added new keyword CIRCLE=mx.
      R. Sterner, 2010 May 23 --- Converted arrays from () to [].
      Johns Hopkins University Applied Physics Laboratory.
  Copyright (C) 1985, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us