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/sherpabeta/freeze.sl.html
AHELP for Sherpa 4.0 Beta freeze Context: sl.sherpa

Synopsis

Freeze model parameters, so they do not vary during a fit.

Syntax

freeze([parameter], [[parameters]]);

Description

Given one or more model parameters, freeze each model parameter at its current value. The frozen parameters are not varied during a fit. (If an argument is a model, then all the model parameters of that model are frozen.)

Example

sherpa> freeze(g.ampl);
sherpa> freeze(g.ampl, g.fwhm);
sherpa> freeze(g);

The freeze function must be given at least one argument. That argument must be a model or a model parameter. The function can be given an indefinite number of models and/or model parameters as arguments. If a model is an argument, all the parameters of that model are frozen at their current values.

Bugs

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

See Also

sl.sherpa
set_par, thaw
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.