-
Notifications
You must be signed in to change notification settings - Fork 151
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
Fix licks, rewards, and stimulus presentations timestamps #2370
Comments
Should be undertaken after #2367 gets merged |
Continuing with my questionable practice of transcribing emails into GitHub tickets, here is an exchange boiling down to "where should we be applying monitor delay, anyway?"
|
Small wrinkle based on Marina's response
I will try to encompass the above decision in this work. |
Corbett confirms the accuracy of this statement
|
The current BehaviorSession implementation instantiates licks, rewards, and stimulus presentations from the same
StimulusTimestamps
instance. This is not appropriate. We hav recently learned that licks and rewards should not include monitor delay in their timestamps. Stimulus presentations shouldFurthermore, in the case of behavior_ecephys_sessions, the timestamps should be generated by
StimulusTimestamps.from_multiple_stimulus_blocks
with non-Nonestim_of_interest
)Tasks
Licks
andRewards
data object constructor to raise an error ifnot np.isclose(stimulus_timestamps.monitor_delay, 0.0)
BehaviorSession._read_data_from_stimulus_file
into their own independent instantiationsThe text was updated successfully, but these errors were encountered: