malcolmw / pykonal

Travel-time calculator based on the fast-marching method solution to the Eikonal equation.
https://malcolmw.github.io/pykonal-docs/
GNU General Public License v3.0
154 stars 55 forks source link

source coordinate out of the nodes #11

Closed saeedsltm closed 3 years ago

saeedsltm commented 3 years ago

Could be very helpful if we can put the source coordinate in any arbitrary x,y,z and not just instead a node. Especially if we're considering large distance between two adjacent nodes (dx,dy,dz), this functionality would be more important.

malcolmw commented 3 years ago

Hi, @saeedsltm,

I agree, and I wrote the PointSourceSolver class to do exactly that. Check out the example here.

Let me know if you have any trouble using that class.

- Malcolm