You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is mainly to remind my self to fix this later. Not release critical
A bunch of Numpy runtime warnings are thrown in this test because it is shading
a flat surface which gives an uniform intensity which results in a divide by zero when normalising the intensity.
This should be fixed IMHO by:
Add a test with a more interesting surface.
Change share_rgb to avoid dividing by (intensity.max()-intensity.min()) when these are identical. This will change the result of the current test.
Alternatively one could fix this adding an assertion and refuse to shade flat surfaces.
The text was updated successfully, but these errors were encountered:
This is mainly to remind my self to fix this later. Not release critical
A bunch of Numpy runtime warnings are thrown in this test because it is shading
a flat surface which gives an uniform intensity which results in a divide by zero when normalising the intensity.
This should be fixed IMHO by:
The text was updated successfully, but these errors were encountered: