Skip to content

Remove timestamp from non-response events#119

Open
bruno-f-cruz wants to merge 1 commit into
mainfrom
fix-response-serialization
Open

Remove timestamp from non-response events#119
bruno-f-cruz wants to merge 1 commit into
mainfrom
fix-response-serialization

Conversation

@bruno-f-cruz

Copy link
Copy Markdown
Member

This PR introduces a breaking change to the Response software event:

  • Response deadline and auto-response are now propagated with a timestamp set to "NaN"
  • Since the Bonsai.Harp.Timestamp<T> constructor does not accept NaN as a timestamp, we introduce a breaking change by serializing as Tuple<Nullable<bool>, double> instead.

This should make the decision to only include hw-derived timestamps in this event more systematic and introduce less downstream analysis issues like in #118

Closes #118

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Response time 0 on auto_response trials

1 participant