Delila Program: derivative

derivative program

Documentation for the derivative program is below, with links to related programs in the "see also" section.

{version = 1.03; (* of derivative.p 1999 September 24}

(* begin module describe.derivative *)
   derivative: take the derivative of x versus y in xyin

   derivative(xyin: in, derivativep: in, data: out, output: out)

   xyin:  a data file consisting of two columns, the first is called x
      and the second is y.  Comment lines can begin with "*", and empty
      lines are allowed.

      output columns are:
       1: slope
       2: x
       3: y
       4: trigger value (see trigger parameter)

   data:  output of this program, a single data file.  The file may be
      passed to genhis for plotting.

   derivativep:  parameters to control the program.  The file must contain the
      following parameters, one per line:

      parameterversion: The version number of the program.  This allows the
         user to be warned if an old parameter file is used.

      outwid, outdec: two integers that determine the width in characters
         of output numbers and their number of decimal places.

      scale: if the first character is 'l' then it is a log-log scale
         and log base 2 will be take of both x and y before computing the

      trigger: when the slope is below the trigger, the trigger value
         in xyin will be 0, otherwise it will be 1.

   output: messages to the user


   Two data columns in the xyin file are read as x and y.
   The difference between each x value and its previous one is deltax.
   The difference between each y value and its previous one is deltay.
   The computed slope is deltay/deltax.
   The program will halt if deltax is zero.



see also
   genhis.p, derivativep

   Thomas Dana Schneider


technical notes

(* end module describe.derivative *)
{This manual page was created by makman 1.44}
{created by htmlink 1.55}
U.S. Department of Health and Human Services  |  National Institutes of Health  |  National Cancer Institute  |  | 
Policies  |  Viewing Files  |  Accessibility  |  FOIA