Closed GJBoth closed 1 year ago
I moved the grid functions to utils
instead of leaving a file just for grid functions and made the norm functions take an axis
argument. I think it's better that we just have the norms be useful for any array and then there's no need to keep just two functions around in a separate grid utilities file, IMO.
Okay, I think I agree with that, I'll make the change.
This PR proposes a clearer separation between ops and utils. Simply:
functional
contains only transformationsField -> Field
ops
contains transformations not working onField
s, such as resampling, quantisation etc.utils
contains all the rest - but mostly it's stuff for shape broadcasting, dealing with grids and initialisers returning arrays.