[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


save_cmd Source code in cafe_save_cmd.pro

save_cmd

Name
           save_cmd
Purpose
           Saves current state into a command script file.
           To restore the state it is sufficient to run this file as
           an ordinary script.
Category
           cafe
SUBCATEGORY:
           save
DATA FORMAT:
           This task saves the state in a sequence of commands which
           would create the current state. Following commands will be
           issued (if necessary to change the state):
              - set
              - data (reading data from file which must exist)
              - ignore
              - select
              - model
              - chpar
              - defpar (name)
              - tie
              - freeze
              - setplot
              - plot
              - legend
              - show
              - setformat
              - chres
              - chgrp
           Not covered commands are:
              - import
              - modify
              - error
              - merge
              - sort
              - wplot
              - any intermediate products from steppar, hist, pfold
                etc.
REMARK:
           Not all aspects of the current state are saved but only
           the main one which define the plotting/fitting. See
           DATA FORMAT.
           You can fool the system by using the data command with
           appropriate set-configuration and change it afterwards so
           the system could not track the origin of the data loaded.
           In that respect the save,*.sav task is safer. Also it
           could not be guaranteed that the state could be recovered
           for different versions of the cafe environment.
           This save format has the advantage of being small and
           editible, and could be used as a template for writing new
           scripts.
Side Effects
           Changes content of file.
Example
               > ... extended run
               > save, state.cmd
               > ...
               > @state.cmd
               -> saves current state, restores it by calling the
                  command script.
Revision History
           $Id: cafe_save_cmd.pro,v 1.3 2004/02/11 13:59:41 goehler Exp $

Last modified by pro2html on 2005 January 04 at 16:19 UTC

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

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