glmdenoise.utils.make_poly_matrix module¶
-
glmdenoise.utils.make_poly_matrix.make_poly_matrix(n, degrees)[source]¶ Calculates a matrix of polynomials used to regress them out of your data
Parameters: - n (int) – number of points
- degrees (array) – vector of polynomial degrees
Returns: array of n x len(degrees)
Return type: array