Maybe your are looking for this: How to get quadrature points and their weights? - #2 by bhaveshshrimali ?