Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: gradient distance metric #35

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

william-silversmith
Copy link
Contributor

Experimenting with a hill climbing distance metric as requested in #26

Thanks for the inspiration in https://github.com/ReubenDo/dijkstra3d/blob/master/dijkstra3d.hpp

dijkstra3d.dijkstra(
  data, source, target, 
  metric="gradient", 
  metric_args=[1.0, 1.0], # equal weight to euclidean distance and field intensity
  anisotropy=(1,1,1) 
)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant