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/sherpa4.1/thaw.py.html
AHELP for Sherpa 4.1

thaw

Context: py.sherpa

Synopsis

Thaw model parameters so they vary during a fit

Syntax

thaw([parameter])

Description

The thaw command thaws the specified model parameters so that they may vary during a fit.

  • parameter(s) - model parameters to thaw

To fix a parameter at the current value during a fit, use the freeze command ("ahelp freeze").

Example 1

sherpa> thaw(pl.ampl)

Thaw the amplitude parameter of a powerlaw1d model named "pl".

Example 2

sherpa> set_source(xswabs.gal*xsmekal.mek)
sherpa> thaw(mek.kT)

Create a source model and thaw the plasma temperature parameter (kt) of the xsmekal model.

Example 3

sherpa> thaw(poly.c1, poly.c2)

Thaw the second and third (c1, c2) coefficients of a polynomial model.

Bugs

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

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.