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/lineid.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 lineid Context: sherpa

Synopsis

Sets a user-defined line identification (or general model description) for the model in the MDL output.

Syntax

sherpa> <modelname> lineid "model description string"

where <modelname> is a name that has been given to a model component by
the user.

Description

This command allows a user to associate an arbitrary string with a particular Sherpa model. This assocation can then be stored (and retrieved) when the session is stored as an MDL file, or it can be retrieved using the sherpa_update_mdl or sherpa_get_mdl commands. The intended use is to allow the user to put line identifications (such as "Fe XVII 15.01 line") to Sherpa models, such as a gaussian or delta function. These identifications are then stored in the MDL file, or in the output of routines such as mdl2latex.

This command in no way changes the model parameters or how the model is fit, and the associated string is not displayed when the SHOW command is used. It only appears in the MDL file or the S-lang structure returned by sherpa_update_mdl/sherpa_get_mdl.

Example

Set a line id for a model component:


sherpa> ngauss[g1]
g1.fwhm parameter value [0.1]
g1.pos parameter value [22.10]
g1.ampl parameter value [1]
sherpa> g1 lineid "O VII Forbidden line"

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.