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

Visual Behavior Session with extreme variability in image presentation times #2252

Open
alexpiet opened this issue Oct 11, 2021 · 0 comments
Labels

Comments

@alexpiet
Copy link
Contributor

Describe the bug
The interval between stimulus presentations in visual behavior should be 0.75s. Some variability happens due to dropped frames. I found one session with extreme variability, that I think rises to the level of a QC failure.

Session details:
CAM2P.3
OPHYS_3_images_A
2019-04-24
Slc17a7-IRES2-Cre
V1, 375um depth
OEID: 856938751
OSID: 856295914

Here is the bad session
bad_session

For comparison, here is a typical session, with some variability due to dropped frames. Note the xlimits are different between the two plots
good_session

To Reproduce

session.stimulus_presentations['diff'] = session.stimulus_presentations.start_time.diff()
plt.hist(session.stimulus_presentations['diff'], bins=100)
plt.yscale('log')
plt.axvline(0.75,'r')

Expected behavior
I expect all intervals to be within 50ms of 750ms.

Actual Behavior
We have intervals off by several hundred milliseconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant