home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / sci / math / numanal / 3326 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  3.6 KB

  1. Path: sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!olivea!charnel!sifon!isaac
  2. From: isaac@gildor.Physics.McGill.CA (Martin-D. Lacasse)
  3. Newsgroups: sci.math.num-analysis
  4. Subject: C-based fitting and data manipulation program
  5. Message-ID: <1992Nov17.003301.9355@sifon.cc.mcgill.ca>
  6. Date: 17 Nov 92 00:33:01 GMT
  7. Sender: news@sifon.cc.mcgill.ca
  8. Reply-To: isaac@physics.mcgill.ca
  9. Organization: Center for the Physics of Materials, McGill University
  10. Lines: 63
  11. Nntp-Posting-Host: gildor.physics.mcgill.ca
  12.  
  13.  
  14.     If you use GNUPLOT and do day to day fitting (linear or non-linear)
  15.     or Fourier transforms, column manipulation and plotting (and
  16.     moreover, you hate awk) then this might interest you.
  17.  
  18.     Hi everyone!
  19.  
  20.     In course of my (student) work, I had to deal with a *lot* of data
  21.     files to fit, modify, plot, Fourier transform, etc. This lead me
  22.     (over the last year) to write a mathematical front end to GNUPLOT.
  23.     At first, this program was built for a particular personal need,
  24.     but very fast it spreaded in our research group and I soon had to
  25.     answer requests for further developments.
  26.  
  27.     Basically, the program runs with GNUPLOT (version 3.2 is fine,
  28.     earlier versions need to be recompiled to prevent exit on error)
  29.     without any modification. It allows the user to use the syntax of
  30.     C-shell for having aliases, while and foreach loops, Macros can
  31.     also be defined. This is how I dealt with the multiple files to
  32.     transform/fit/plot. This is particularly useful when one has to fit
  33.     the parameters obtained from a series of previous fits. For the
  34.     data (column) manipulation, the program uses a C-interpreter I
  35.     wrote, with some particular adaptations. It supports variables,
  36.     vectors (the data columns) as well as strings. All vector
  37.     assignments are implicit loops, Thus, commands like:  x=1; X=x++
  38.     define a vector X ranging from 1 to the vector size. Most (if not
  39.     all) C math library functions are available for data manipulation.
  40.     So, commands like Y = sin(X*pi)^2 assigns vector Y to the square of
  41.     the sin() of PI times each element of vector X. With these
  42.     extensions, the resulting flavour of C becomes a nice data
  43.     manipulation language.
  44.  
  45.     As it stands now, it is only supported on UNIX and compiles
  46.     on AIX, ULTRIX, IRIX, and HPUX.
  47.  
  48.     It is fully documented, and a series of past applications are
  49.     provided as examples. If you know C and C-shell programming, you'll
  50.     feel at home. If not, you'll find that using it is relatively easy.
  51.     Although the program is still under development, it is in a
  52.     relatively stable state.
  53.  
  54.     Some of the included mathematical routines were based on the ones
  55.     found in Numerical Recipes. Most of them were deeply modified to
  56.     allow user-defined application, dynamic memory, and elegant error
  57.     recovery. However, before I know more about the fuzzy (and
  58.     sometimes funny) limits of numerical method copyrights I suggest
  59.     that you don't use that program unless you already have access to
  60.     NR routines. If someone can enlighten me about this point, please do!
  61.     (Use e-mail, I don't think this group is the good place for that).
  62.  
  63.     This program is called FUDGIT and is available by anonymous ftp at
  64.     ftp.physics.mcgill.ca. 
  65.  
  66.     Enjoy!
  67.  
  68. ---
  69.  
  70.  Martin-D. Lacasse                   internet: isaac@physics.mcgill.ca
  71.  Physics Department                     voice: (514) 398-7027
  72.  McGill University                        fax: (514) 398-8434
  73.  Montreal
  74.  Quebec, Canada
  75.  &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
  76.