Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The old scheme using nquad only worked fast because the value of the integral was below the absolute tolerance, and it wasn't very accurate after fixing the numerical issue nquad takes impractically long since the integration is over a fit to data points we don't even know the function well enough for an nquad calculation to make sense for this reason I've used simpsons rule for integration which is much faster and should be just as accurate we still fit and use function evaluations for convenience
- Loading branch information