The sub_size input was previously implemented throughout the code base, for example in Array2D, Grid2D and other structures and numerous functions.
However, over sampling functionality is only performed when certain function calls are made, meaning that the sub_size parameter and associated functionality can be moved to a standalone package.
This PR does this, simplifying large parts of the source code.
The whole thing turned into quite a large refactor, so the PR is pretty sprawling.
The
sub_size
input was previously implemented throughout the code base, for example inArray2D
,Grid2D
and other structures and numerous functions.However, over sampling functionality is only performed when certain function calls are made, meaning that the
sub_size
parameter and associated functionality can be moved to a standalone package.This PR does this, simplifying large parts of the source code.
The whole thing turned into quite a large refactor, so the PR is pretty sprawling.