-
Notifications
You must be signed in to change notification settings - Fork 20
Description
In the documentation for auto_basis, it says
If the manifold is a plane, and regular > 0, then basis functions are placed regularly within the bounding box of data, with the smallest number of basis functions in each row or column equal to the value of regular in the coarsest resolution (note, this is just the smallest number of basis functions). Subsequent resolutions have twice the number of basis functions in each row or column.
However, the numbers here seem to be incorrect. The part of the code (lines 460 and 461) for the number of basis functions in placed in resolution i is round(nx*(3^(i)), where i ranges from 1 to nres, (assuming x is the wider dimension, so nx<-regular on line 416, the same applies if y is the wider dimension of course).
This means that the number of basis function at the coarsest resolution is actually 3 times the value of regular, and subsequent resolutions have thrice the number of basis functions in each row/column.
Really sorry if I have misunderstood the documentation of course!