mba icon indicating copy to clipboard operation
mba copied to clipboard

Normalization

Open untereiner opened this issue 3 years ago • 4 comments

I open a new issue to not mix the two questions

It is very strange because my example points aren't working until I normalize them. The operator interp(mba::point<2>{u, v}) with large values of u and v returns 0.

untereiner avatar May 27 '21 15:05 untereiner

Are large values of u and v still inside your domain (defined with cmin and cmax)? If not then these are outside of interpolation grid and decrease rapidly.

ddemidov avatar May 27 '21 15:05 ddemidov

My dataset is composed of 3D points. The cmin, cmax are the min/max of the x,y bounding box and the values vector are the z coordinates of my points. So yes they should

untereiner avatar May 27 '21 15:05 untereiner

Another problem could be the initial grid is too sparse, so the data points are approximated exactly, and the rest of the grid has no overlap with the input data.

ddemidov avatar May 27 '21 15:05 ddemidov

There was the same problem, it turned out to be solved by reducing the grid (mba:: index<2> grid).

terewenko avatar Jun 12 '21 20:06 terewenko