def fir(timeseries, design):
    X = np.matrix(design)
    y = np.matrix(timeseries)
    h = np.array(linalg.pinv(X.T * X) * X.T * y.T)
    return h
Test google charts rendering of a pie chart
dataset/ETHPy150Open nipy/nitime/nitime/algorithms/event_related.py/fir--crossover with--dataset/ETHPy150Open evanbrumley/django-report-tools/report_tools/tests/test_all.py/GoogleChartsTest.test_pie_chart