def linramp(rampparams, x, etc = []):
   """
  This function creates a model that fits a ramp using a linear polynomial.

  Parameters
  ----------
    x0: time offset
    a: coefficient of first term
    b: constant
    x: Array of time/phase points

  Returns
  -------
    This function returns the flux values for the ramp models

  Revisions
  ---------
  2008-07-07    Kevin Stevenson, UCF
            kevin218@knights.ucf.edu
        Original version
   """

   a     = rampparams[0]
   b     = rampparams[1]
   x0    = rampparams[2]

   return a*(x-x0) + b