'1 pset, 1 set 1D x, 1 set 1D y, Chebyshev 1D polynomial'

def test_linear_fitter_1dcheb(self):

    expected = np.array([[2817.2499999999995, 4226.624999999999, 1680.750000000001, 273.37499999999926]]).T
    ch1 = models.Chebyshev1D(3)
    ch1.parameters = [0, 1, 2, 3]
    y1 = ch1(self.x1)
    pfit = fitting.LinearLSQFitter()
    model = pfit(ch1, self.x1, y1)
    assert_allclose(model.param_sets, expected, atol=(10 ** (-2)))
