Skip to content

avoid radius estimation when using "delaunay_triangulation" #88

Answered by raphaelquast
domagojhack asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, sounds awesome! I'd love to get a look at it!

For delaunay-triangulations the radius-estimation is used differently than for other shapes...
The radius is only used as a "mask_radius" to mask the obtained triangulation
(to avoid drawing very large triangles that connect far-away points).
If the mask-radius is not provided explicitly EOmaps tries to come up with a suitable guess based on the pixel-spacing (hence the radius-estimation).

To avoid the estimation in the current release, simply use m.set_shape.delaunay_triangulation(mask_radius=np.inf) (or use any number appropriate to your data). Not sure though if the radius-estimation is the slow part here... I'd expect the evaluation o…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by domagojhack
Comment options

You must be logged in to vote
4 replies
@raphaelquast
Comment options

@domagojhack
Comment options

@raphaelquast
Comment options

@domagojhack
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants