Skip to content

Print behaviour alignment in inspect #130

Description

@celefthe

Follow-up to #128. inspect prints NWB metadata but nothing about behaviour alignment, so there is no quick way to see whether a recording has been aligned or to what.

To fix, in inspect, read /timestamps_aligned via io.read_timestamps_aligned (for NWB input, through the linked _preprocessed.h5 once that branch exists) and print behaviour_session, session_start_time, offset_s and the frame count, or "not aligned" when absent. Accept _preprocessed.h5 and _registered.h5 input as well as NWB.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions