Tests on the wrapped shear (from examples/synthetic_images.ipynb) was previously 1.1119 seconds (average of 50 repetitions) and after the modification was 0.5431 seconds (also average of 50 repetitions). Therefore approximately 2x faster.
Tests on a 3d wrapped shear (shear = np.repeat(shear[..., None], 20, axis=2)) was previously 51.1 seconds runtime (for one measurement) and after the modification was 34.4 seconds runtime (for one measurement).
Hey @yoyololicon
Tests on the wrapped shear (from examples/synthetic_images.ipynb) was previously 1.1119 seconds (average of 50 repetitions) and after the modification was 0.5431 seconds (also average of 50 repetitions). Therefore approximately 2x faster.
Tests on a 3d wrapped shear (
shear = np.repeat(shear[..., None], 20, axis=2)
) was previously 51.1 seconds runtime (for one measurement) and after the modification was 34.4 seconds runtime (for one measurement).