Skip to content
New issue

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

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

Already on GitHub? Sign in 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) 
)

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

Successfully merging this pull request may close these issues.

None yet

1 participant