glmdenoise.utils.get_poly_matrix.
constructpolynomialmatrix
Calculates a matrix of polynomials used to regress them out of your data
array of n x len(degrees)
array
projectionmatrix
Calculates a projection matrix