About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2008

URL: http://cxc.harvard.edu/chips4.1/save_state.py.html
AHELP for ChIPS 4.1

save_state

Context: py.chips

Synopsis

Saves the ChIPS session into a state file.

Syntax

save_state(filename)

Description

  • filename - output state file.

The save_state command saves the current ChIPS session into a platform-independent state file.

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

chips> save_state("/some/path/chips.gratingfit.state")

Save the session to the file "/some/path/chips.gratingfit.state" .

Bugs

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

See Also

py.chips
load_state
Last modified: December 2008



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