Example #1
0
    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)
Example #2
0
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)
Example #3
0
def test_residplot(setup_plot):
    rp = sherpa.ResidPlot()
    rp.prepare(setup_plot.data, setup_plot.g1, setup_plot.f.stat)
Example #4
0
 def test_residplot(self):
     rp = sherpa.ResidPlot()
     rp.prepare(self.data, self.g1, self.f.stat)