Closed mkgessen closed 3 years ago
FYI I have not yet run the tests. The review was simply a code inspection so far. I want to think about the testing structure a bit as I think some aspect can be simpler, some aspects more refined.
I believe all the reviewed points have been addressed now. In addition, this PR now includes 1D samplers + a very small unit test for them.
Interpolation for Function1D (float)
This PR implements Cython classes for 1d interpolators.
Interpolators are used through interface class Interpolate1D (raysect/core/math/function/float/function1d/interpolate.pyx and interpolate.pxd) * Interpolator1D class that allows usage of different interpolators/extrapolators
Unit tests can be found from: raysect/core/math/function/float/function1d/tests/test_interpolator_1d.py