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 2006

URL: http://cxc.harvard.edu/ciao3.4/get_num_par.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 get_num_par Context: sherpa

Synopsis

Module functions that report the total number of parameters for all defined models, including instrument models

Syntax

Integer_Type get_num_par()
Integer_Type get_num_par_frozen()
Integer_Type get_num_par_thawed()

Error Return Values: NULL

Description

See the related Sherpa command SHOW.

Example

Set up two models; determine the number of parameters:

sherpa> SOURCE = POW[p] + GAUSS[g]
sherpa> get_num_par
6
sherpa> get_num_par_thawed
5
sherpa> get_num_par_frozen
1

Bugs

See the Sherpa bug pages online for an up-to-date listing of known bugs.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



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.