Last modified: December 2013

URL: https://cxc.cfa.harvard.edu/ciao/ahelp/paramio_punlearn.html
Jump to: Description · Example · See Also


AHELP for CIAO 4.16

punlearn

Context: paramio

Synopsis

Restore the system defaults for a parameter file.

Syntax

punlearn(paramfile)
punlearn(paramlist)

Description

This function is essentially the same as the command-line version (see "ahelp tools punlearn").

The input value can be one of:

Note that punlearn() does not accept a Param_File object - i.e. the output of paramopen().

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


Example

>>> from paramio import *
>>> punlearn("dmextract")
>>> punlearn(["dmextract","dmlist","dmcopy"])
>>> parlist = ["dmextract","dmlist","dmcopy"]
>>> punlearn(parlist)

This example shows the different ways that punlearn() can be used.

See Also

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