I finally had time to mess around with the new sampling function. It is great! However I think I tracked down a bug at the very end of the _resample_step function (line 584 should be replaced with 591-596 below). Please confirm whether this makes sense to you. Note that the previous version did not correctly deal with the 2D case (the output had the wrong shape).
I finally had time to mess around with the new sampling function. It is great! However I think I tracked down a bug at the very end of the _resample_step function (line 584 should be replaced with 591-596 below). Please confirm whether this makes sense to you. Note that the previous version did not correctly deal with the 2D case (the output had the wrong shape).