Skip to content

The solution for _clock_sync does not work #166

@agchitu

Description

@agchitu

The solution as it is presented here:

np.argmin(

This does not manage to properly identify the time stamp ranges.
The reason is that using np.argmin([True] * len(time_stamps)) will return 0 which is not correct. It should return len(time_stamps).

This could be a working solution: next((i for i, v in enumerate(lst) if not v), len(lst)) where lst = the np.less(...)

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