Refactor idg cal
Polishing and refactoring the idg-cal script at several places. This includes among others the introduction of a basisfunction class (LagrangePolynomial
) that can conveniently be used to expand the basis functions (or to evaluate them) and the introduction of new functions and methods.
We probably need a follow-up refactor to get the actual iteration a bit cleaner.