FIT FIT is a program to display data files and to fit standard or user-defined functions. It can read many types of data files, mainly neutron scattering data. It is extensible for other datafiles types, please ask the author listed below how to implement new data files structures. It may also be used as a library for automatic fit programs or simply to convert data files. The original FIT program was based on an old version of the CERN Minuit library. Since 1990, it was extended and improved continuosly. There is a built-in help facility, where you can find most of the features FIT offers (HELP command). For the copyright notice, look at the end of this file. Installations instructions -------------------------- Various flavors of Unix (Tru64, Linux, Mac OS X): for installing fit from source you need the pgplot and readline libraries, if you like nexus support you need also the nexus API, hdf and hdf5 and the compilers gcc and g77 (other fortran compilers may need source adjustments) Unpack the sources, creating the directory tree ./fitsrc/... and go to the source directory: > gunzip fit.tar.gz > tar -xvf fit.tar > rm fit.tar (assuming you dont want fit.tar as a backup) > cd fitsrc Here you can find several system specific makefiles: > ls makefile_* makefile_alpha makefile_alpha_f makefile_linux makefile_macosx These files are for Tru64 Unix (normal and fast version), RedHat Linux and Mac OS X. Edit one of these file to define where the needed libraries are. Define an environment variable for your version, for example > setenv FIT_VERSION linux You may define this also at login. Then simply enter > make all to make all of fit. On Linux and Mac OSX systems you should use DEB=D for the debugger friendly, non-optimizing version. The optimized version is buggy. On Tru64 Unix the optimized version is substantially faster. VMS: To build FIT and some related programs execute the CONFIG.COM command file. It will give you further instructions. Example: Let us assume that the sources are in directory [USER.FIT.SRC...] and that the prompt is $ $ @[USER.FIT.SRC]CONFIG DRA0:[USER.FIT.EXE] created DRA0:[USER.FIT.DEB] created DRA0:[USER.FIT.EXE]MAKE.CFG; created modify this file to define where to find the libraries then use MAKE to make all targets in directory DRA0:[USER.FIT.EXE] or MAKE -D to make a debugger friendly version in directory DRA0:[USER.FIT.DEB]. To get some help on the MAKE command type MAKE ? $ MAKE ... Last revision: 28.08.2003 (Version 4.6) -- Markus Zolliker Laboratory for Neutron Scattering, ETH Zurich & PSI Villigen CH-5232 Villigen PSI Tel: +41 56 310 20 89 Fax: +41 56 310 29 39 E-mail: markus.zolliker@psi.ch -- Copyright notice The author hereby grant permission to use, copy, and distribute this software for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. Modifications are also allowed, but before distributing modified software, you are kindly asked to notify the author, as long as his address is still valid. No written agreement, license, or royality fee is required for any of the authorized uses. Ask the Author if this copyright is too strong for your purpose. IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
Description
Languages
Fortran
57.1%
C
24.6%
Makefile
12.1%
Assembly
2%
POV-Ray SDL
1.8%
Other
2.4%