haesleinhuepf / napari-tools-menu

BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

make point size depend on size of field of view #5

Closed haesleinhuepf closed 2 years ago

haesleinhuepf commented 2 years ago

Hi Johannes @jo-mueller,

I'm thinking of modifying the default-pointsize of all operations that create PointsData and sit in the tools menu. I was considering to make the point size equal to 1% of the field of view in the viewer. In case of the droplet used in the stress-project, this would look like this:

image

What's your opinion, shall the spots be bigger per default? Also, would you mind checking if thes does work with the plugins and data you are working on?

Thanks, Robert

jo-mueller commented 2 years ago

Hi @haesleinhuepf ,

I tried it with a few functions from nppas (sample points on surface with poisson disk) and napari stress (fit spherical harmonics, measure curvature) and it looks good :) Thanks for implementing this, default point sizes are quite a pain ^^"

Edit:

default point sizes are quite a pain

Maybe this could also go as a PR to napari.