|
|
|
|
SynopsisReturn the whole model associated with a Sherpa data set ID. Syntaxget_full_model([id=1]) DescriptionThis function gives user access to the whole model associated with a given data set ID. (If no ID is given, then the model for the first data set is returned). If instrument models are part of the whole expression, then those models are included. Example
sherpa> get_full_model()
sherpa> get_full_model(1)
sherpa> get_full_model("src")If called without arguments, then the model associated with the first data set ID is returned. The user can also specify the desired data set ID, and get back information for that model. set_model(gauss1d.g1 + gauss1d.g2) print get_full_model() (g1 + g2) Param Type Value Min Max ----- ---- ----- --- --- g1.fwhm thawed 10 1e-120 1e+120 g1.pos thawed 0 -1e+120 1e+120 g1.ampl thawed 1 -1e+120 1e+120 g2.fwhm thawed 10 1e-120 1e+120 g2.pos thawed 0 -1e+120 1e+120 g2.ampl thawed 1 -1e+120 1e+120 BugsSee the bugs pages on the Sherpa Beta website for an up-to-date listing of known bugs. See Also
|
![]() |
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. |