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

URL: http://cxc.harvard.edu/ciao/ahelp/paramclose.html
Jump to: Description · Example · See Also


AHELP for CIAO 4.9

paramclose

Context: paramio

Synopsis

Close a parameter file opened by paramopen.

Syntax

paramclose(fp)

Description

Close the parameter file associated with the given Param_File object, the return value of paramopen().

The paramio module is not available by default; see "ahelp paramio" for information on loading the module.

Example

fp = paramopen("dmextract")
# use fp in other paramio routines
paramclose(fp)

Here we open the parameter file for dmextract and then close it. In real-world applications you would use one of the other paramio routines to query or change the parameter file in between opening and closing it.

See Also

paramio
paccess, paramio, paramopen, pget, pgets, plist, pquery, pset, punlearn

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.