Chandra X-Ray Observatory
Skip to the navigation links
Last modified: 8 February 2018

How can I plot the ungrouped fitted source model on my grouped data?

When a grouped data set is fit in Sherpa, the plot_fit command plots the grouped source model overlaid on the grouped data. In order to plot the full resolution source model on the grouped data, use the plot_model command, which always plots the ungrouped source model.

sherpa> plot_data()
sherpa> plot_model(overplot=True)

Last modified: 8 February 2018
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: Smithsonian Institution, Copyright © 1998-2017. All rights reserved.