>  Docs Center  >  Libraries  >  Buie  >  LCFUNF
Libraries

LCFUNF

LCFUNF

Name


  lcfunf

Purpose


  Compute a lightcurve function independent variables.

Description


  This is to be used in cases where you already know the fundamental period.
  The input independent variable is assumed to be reduced to phase of a
  fundamental period already. The integer part of the number is not used
  by the function.

Category


  Mathematical

Calling Sequence


  ans = lcfunf(x,m)

Inputs


  x - independent variable (longitude, between 0 and 360)
  m - order of fit (see lcfun.pro)

Optional Input Parameters


  PHANG - phase angle of each observation, will be saved to common, if
            not provided will use the last values saved to common block.
            Angle is in degrees.

Keyword Input Parameters


Outputs


  return value - 2-d array with all the independent variables computed.
                    This is normally used to setup a svdfit or similar
                    operation.

Keyword Output Parameters


Common Blocks


  lc_com - one variable, phang, that is used to save the phase angle from
              one call to the next in case of calling the lcfun or lcfunf
              from a canned routine that cannot be taught to pass the
              extra independent variable.

Side Effects


Restrictions


Procedure


Modification History


  94/10/10, Written by Marc W. Buie, Lowell Observatory
  95/08/01, cloned from LCFUN by MWB



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