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 *)
(*
name
   derivative: take the derivative of x versus y in xyin

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

files
   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
         slope.

      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

description

   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.

examples

documentation

see also
   genhis.p, derivativep

author
   Thomas Dana Schneider

bugs

technical notes

*)
(* end module describe.derivative *)
{This manual page was created by makman 1.45}


{created by htmlink 1.62}