Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information about state outputs to bpod data jsonable #721

Open
oliche opened this issue Sep 27, 2024 · 0 comments
Open

Add information about state outputs to bpod data jsonable #721

oliche opened this issue Sep 27, 2024 · 0 comments

Comments

@oliche
Copy link
Member

oliche commented Sep 27, 2024

When states output a TTL on the BNC outputs to synchronize external devices, the information about those TTLs being sent are not being captured. We have to infer by trial and error which states have been used for synchronisation when extracting the data.

In a future version of the bpod wrapper, this would be taken care of by the interface with bpod.

A shorter and faster development would be to patch the bpod_data dictionary we recover at the end of the trial with the information by adding to the Events timestamps dictionary the end times of states that sent out a TTL.

It would be a good opportunity to also make sure the bpod_data dictionaries have consistent keys, even in the absence of signal. To do this we would just add empty lists to the events and states dictionaries.

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

No branches or pull requests

1 participant