I think the use_arlo() function has a bug since i can not make it to return true. My suspicion is that it has to do with the imprecise number representation that is returned by the diff function (which I assume is used to test for equidistant echo spacing, its hard to debug with pcode).
however if i assume that the two requirements for arlo are first > 3 echoes and second equidistant echo spacing, then the following examples should return true, which they dont:
use_arlo([0.005 0.015 0.025 0.035]) % obvious example
use_arlo([5.25,11.08,16.91,22.74,28.57]/1000) % real world example
i think use_arlo useses seconds and not milliseconds according to the example script, but that really should not make a difference unless one is checking for realistic values.
I think the
use_arlo()function has a bug since i can not make it to return true. My suspicion is that it has to do with the imprecise number representation that is returned by the diff function (which I assume is used to test for equidistant echo spacing, its hard to debug with pcode).however if i assume that the two requirements for arlo are first > 3 echoes and second equidistant echo spacing, then the following examples should return true, which they dont:
i think use_arlo useses seconds and not milliseconds according to the example script, but that really should not make a difference unless one is checking for realistic values.