POSYDON-code/POSYDON

`find_nearest` in `gridutils`

Open

#465 opened on Dec 5, 2024

 (0 comments) (0 reactions) (0 assignees)Python (35 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (42 stars)
PR merge metrics
 (PR metrics pending)

Description

find_nearest doesn't use: find_index_nearest_neighbour, which is available.

Additionally, it requires the input to be numpy.array's. Can we change the code function to np.argmin()? And np.abs?

Contributor guide