Skip to content

bug in use_arlo function #6

Description

@jadenecke

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions