scikit-fmm/scikit-fmm — Issue #1: travel_time() gives spurious results
Author: jkfurtney
Created: 2012-03-07 01:58:47+00:00
State: open

phi=arange(-5,5)+0.499
>>> skfmm.distance(phi)
array([-4.501, -3.501, -2.501, -1.501, -0.501, 0.499, 1.499, 2.499,
3.499, 4.499])
>>> skfmm.travel_time(phi,speed=ones_like(phi))
array([ 4.00816049, 3.02048148, 2.05744444, 1.16833333, 0.501 ,
0.499 , 1.499 , 2.499 , 3.499 , 4.499 ])