[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


cafe Source code in cafe.pro

cafe

Name
       cafe
Purpose
       Interactive fit environment suplying a frontend for
       reading/fitting/plotting/analysing data
Category
       cafe
Calling Sequence
       cafe, logfile=logfile
Input Parameters
      No explicite. Must be get interactively from internal command
      line.
Optional Input Parameters
       logfile - file name where to write commands/result
                            of cafe into. No log will be performed
                            if this command is not given.
Keyword Parameters
       noinit  - Do not execute .caferc files both in $HOME/.caferc
                 and $PWD/.caferc
       nolog   - Do not automatically create a log file.
Output Parameters
       No explicite. Will be written to file from internal command
       line.
Optional Output
       None.
Common Blocks
       None except the one used by mpfit.
Side Effects
       None. If not crashing.
SETUP:
       CAFE can be initialized with scripts which are executed
       automatically when starting up. These are (executed in this
       order):
       1.) $HOME/.caferc - The global user personal init file. If $HOME
                           is not defined the file could not be
                           executed. This  means also that this
                           mechanism can be used for unix-like systems
                           only.
       2.) $PWD/.caferc  - A lokal initial file. The file must reside
                           within the current working directory.
Restrictions
       CAFE is intended for interactive use; therefore
       this program should not be called within  a batch file (if
       not this script performs interactive processes itself).
Procedure
       CAFE shows a prompt and allows to enter several
       commands to perform a fitting cycle. Each command
       follows a nearly IDL-like syntax:
             command> {parameters,}{<opt_parameter>=,}{/,,}
       Most important commands:
           -  help [<command>] : prints list of available
                                commands, or of a single command
                                given.
           - quit : exit the environment. Do not interrupt for
                    the environment uses pointer objects which must be
                    freed after processing.
Example
       cafe
            > data, test.dat, /ascii
            > model, sinus * exp
            > fit, 100
            > plot
            > error
            > quit
Copyright
       This environment was built at the Institute for
       Astronomy and Astrophysic Tuebingen (IAAT),
       http://astro.uni-tuebingen.de).
       Design, structure and basic commands are
       created by Eckart Goehler, 2002.
       The software may be copied and distributed for free
       following the terms of the free software foundation.
Revision History
       $Id: cafe.pro,v 1.20 2005/02/16 09:30:09 goehler Exp $

Last modified by pro2html on 2005 February 17 at 04:11 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically