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

URL: http://cxc.harvard.edu/chips/ahelp/save_state.html
Jump to: Description · Examples · Bugs · See Also


AHELP for CIAO 4.9 ChIPS v1

save_state

Context: saving

Synopsis

Saves the ChIPS session into a state file.

Syntax

save_state(filename)

Description

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".

Bugs

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

See Also

saving
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:   cxchelp@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2017. All rights reserved.