def test_splitplot(self): dp = sherpa.DataPlot() dp.prepare(self.data, self.f.stat) mp = sherpa.ModelPlot() mp.prepare(self.data, self.g1, self.f.stat) rp = sherpa.ResidPlot() rp.prepare(self.data, self.g1, self.f.stat) fp = sherpa.FitPlot() fp.prepare(dp,mp) sp = sherpa.SplitPlot(2,2)
def test_splitplot(setup_plot): dp = sherpa.DataPlot() dp.prepare(setup_plot.data, setup_plot.f.stat) mp = sherpa.ModelPlot() mp.prepare(setup_plot.data, setup_plot.g1, setup_plot.f.stat) rp = sherpa.ResidPlot() rp.prepare(setup_plot.data, setup_plot.g1, setup_plot.f.stat) fp = sherpa.FitPlot() fp.prepare(dp, mp) # TODO: without calling addplot this is hust the same as test_splitcontour sp = sherpa.SplitPlot(2, 2)
def test_splitcontour(self): dc = sherpa.DataContour() dc.levels = self.levels dc.prepare(self.data) mc = sherpa.ModelContour() mc.levels = self.levels mc.prepare(self.data, self.g1, self.f.stat) fc = sherpa.FitContour() fc.prepare(dc, mc) rc = sherpa.ResidContour() rc.prepare(self.data, self.g1, self.f.stat) rc.levels = self.levels sp = sherpa.SplitPlot(2,2)
def test_splitcontour(setup_contour): dc = sherpa.DataContour() dc.levels = setup_contour.levels dc.prepare(setup_contour.data) mc = sherpa.ModelContour() mc.levels = setup_contour.levels mc.prepare(setup_contour.data, setup_contour.g1, setup_contour.f.stat) fc = sherpa.FitContour() fc.prepare(dc, mc) rc = sherpa.ResidContour() rc.prepare(setup_contour.data, setup_contour.g1, setup_contour.f.stat) rc.levels = setup_contour.levels # TODO: without calling addcontour this is hust the same as test_splitplot sp = sherpa.SplitPlot(2, 2)