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

FIT

FIT

Name


      FIT

Purpose


      Curve fit program. Polynomial, exponential, power law.

Category


Calling Sequence


      fit, x, y, [cur]

Inputs


      x,y = input curve data arrays. in

Keyword Parameters


Outputs


      cur = optional description of the last fit done. out
          cur has following format:
          cur = [FTYPE, XOFF, YOFF, NDEG, C0, C1, ..., Cn]
                for polynomial,
          cur = [FTYPE, XOFF, YOFF, A, B]
                for exponential and power law.
          Useful for generating data using the fitted curve
          by calling y = gen_fit( x, cur)
          where x and cur are inputs, y is generated output.
     

Common Blocks


Notes


Modification History


      R. Sterner. 13 Oct, 1986.
      RES 9 Oct, 1989 --- converted to SUN.
      R. Sterner, 2003 Oct 07 --- Set YOFF to float. Minor plot upgrade.
      R. Sterner, 2003 Oct 22 --- Added /YNOZ to linear Y plots.
  Copyright (C) 1986, 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.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us