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 2007

URL: http://cxc.harvard.edu/chips4.0/save_preferences.py.html
AHELP for ChIPS 4.0 save_preferences Context: py.chips

Synopsis

Saves ChIPS preferences to a file.

Syntax

save_preferences([filename])

Description

  • filename - output preferences file.

The save_preferences command saves ChIPS preferences to the specified file. If no filename is supplied, ChIPS attempts to save to "$HOME/.chips.rc".

If the output file exists, ChIPS behavior is determined by the value of the export.clobber preference. If export.clobber is set to true, ChIPS will attempt to overwrite the existing file.

The preferences can be loaded into a new ChIPS session with the load_preferences command.

See "ahelp py.chips preferences" for general information on the attribute values and settings in ChIPS.

Example 1

chips> save_preferences("/some/path/chips.pref")

Save preferences to the file "/some/path/chips.pref".

Example 2

chips> save_preferences()

Save preferences to the file "$HOME/.chips.rc".

Bugs

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

Last modified: December 2007



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.