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

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


AHELP for CIAO 4.9 ChIPS v1

load_state

Context: saving

Synopsis

Restores a ChIPS session from a state file.

Syntax

load_state(filename)

Description

The function arguments.

Argument Description
filename The file name to read from.

The load_state command restores a ChIPS session from a state file that was created using the save_state command. The current session is cleared, then all data and ChIPS settings are restored from the file.

If any part of the undo command history is present in the state file, it is possible to undo those commands in the restored session.

Example 1

chips> load_state("plot.state")

Load a session from the file plot.state.

Example 2

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

Load a session from 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
make_script, save_state

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.