Last modified: December 2024

URL: https://cxc.cfa.harvard.edu/sherpa/ahelp/unlink.html
Jump to: Description · Example · PARAMETERS · Bugs · See Also


AHELP for CIAO 4.17 Sherpa

unlink

Context: modeling

Synopsis

Unlink a parameter value.

Syntax

unlink(par)

Description

Remove any parameter link - created by `link` - for the parameter. The parameter value is reset to the value it had before `link` was called.


Example

>>> unlink(bgnd.ampl)

PARAMETERS

The parameter for this function is:

Parameter Type information Definition
par str or Parameter The parameter to unlink. If the parameter is not linked then nothing happens.

Bugs

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

See Also

contrib
renorm
modeling
freeze, guess, link, paramprompt, set_par, thaw