Chandra X-Ray Observatory
Skip to the navigation links
Last modified: December 2013

Jump to: Description · Examples · Bugs · See Also

AHELP for CIAO 4.10 ChIPS v1


Context: saving


Saves the ChIPS session into a state file.




The function arguments.

Argument Description
filename The file name to write to.

The save_state command saves the current ChIPS session into a platform-independent state file. This output file is not human readable; see the make_script command for an editable set of commands that can re-create the current visualization.

A partial history of the undo command is also saved, but it does not include history cached in a file. This limits which commands may be undone in the restored session.

The save session can be restored with the load_state command.


Example 1

chips> save_state("chips.state")

Save the session to the file "chips.state". This file can then be loaded using the load_state() command.

Example 2

chips> save_state("/data/chips/plot.chips")

Save the session to the file "/data/chips/plot.chips".


See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.

See Also

load_state, make_script

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: Smithsonian Institution, Copyright © 1998-2017. All rights reserved.