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
Describe the bug
PointsDensity does not display the density at the right place.
To Reproduce
Add non-symmetrical cells to a scene, then display the density with PointsDensity. The density mesh is off.
Expected behaviour
Density is shown at the proper place, that is, where the cells are.
Screenshots
With my data :
With the provided cell_density example :
Computer used (please complete the following information):
OS: Windows 10
python 3.11.6
vedo 2023.5.0
vtk 9.3.0
k3d : 2.16.0
bg-atlasapi 1.0.2
bg-space 0.6.0
brainglobe-utils 0.3.0
brainrender 2.1.0
Additional context
Hey,
First I wanted to congratulate you for the mega-fix patch which looked like a pain but you manage and it seems to work (mostly).
I freshly installed it in a new environment with Python 3.11 and it installed without complaining.
But it seems that the weird/black-magic/ununderstood bug in the coordinates with vedo's PointsDensity is still here (although better than before).
I added cells to a scene (allen_mouse_10um) and a density with the following :
Cells are displayed properly but the density seems to be mirrored in the left/right direction (see first screenshot above).
Then I tried the provided cell_density.py example, and that one seemed to work. But I noticed that randomly-generated cells are symmetrical, so I tried removing cells from one side :
Again, the density is off, it seems mirrored in some way -- see second screenshot above.
I know it is a known bug that was not well understood and that you/we hoped to have fixed with latest vedo. But it seems there is still something weird hapenning with the coordinates in PointsDensity.
Notice that now, the density is not completely off, eg. it's in the brain but still has a problem...
See : #261, #243, #217
The text was updated successfully, but these errors were encountered:
Describe the bug
PointsDensity does not display the density at the right place.
To Reproduce
Add non-symmetrical cells to a scene, then display the density with PointsDensity. The density mesh is off.
Expected behaviour
Density is shown at the proper place, that is, where the cells are.
Screenshots
With my data :
With the provided cell_density example :
Computer used (please complete the following information):
Additional context
Hey,
First I wanted to congratulate you for the mega-fix patch which looked like a pain but you manage and it seems to work (mostly).
I freshly installed it in a new environment with Python 3.11 and it installed without complaining.
But it seems that the weird/black-magic/ununderstood bug in the coordinates with vedo's PointsDensity is still here (although better than before).
I added cells to a scene (allen_mouse_10um) and a density with the following :
Cells are displayed properly but the density seems to be mirrored in the left/right direction (see first screenshot above).
Then I tried the provided cell_density.py example, and that one seemed to work. But I noticed that randomly-generated cells are symmetrical, so I tried removing cells from one side :
Again, the density is off, it seems mirrored in some way -- see second screenshot above.
I know it is a known bug that was not well understood and that you/we hoped to have fixed with latest vedo. But it seems there is still something weird hapenning with the coordinates in PointsDensity.
Notice that now, the density is not completely off, eg. it's in the brain but still has a problem...
See :
#261, #243, #217
The text was updated successfully, but these errors were encountered: