Sets a user-defined line identification (or general model description) for the model in the MDL output.
sherpa> <modelname> lineid "model description string" where <modelname> is a name that has been given to a model component by the user.
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.
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  sherpa> g1 lineid "O VII Forbidden line"
The Chandra X-Ray
Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA. Email: email@example.com
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.