esp.licks_each_flash and esp.rewards_each_flash annotate the rows of session.stimulus_presentations with the licks and rewards that happen during each flash. Currently they look for strict inclusion with a set time range relative to the stimulus onset. If the lick or reward happens at exactly the moment the stimulus starts the lick or reward is not assigned to any stimulus. I've fixed that by making the test of for the start of the time range inclusive ">=" rather than ">"
esp.licks_each_flash
andesp.rewards_each_flash
annotate the rows ofsession.stimulus_presentations
with the licks and rewards that happen during each flash. Currently they look for strict inclusion with a set time range relative to the stimulus onset. If the lick or reward happens at exactly the moment the stimulus starts the lick or reward is not assigned to any stimulus. I've fixed that by making the test of for the start of the time range inclusive ">=" rather than ">"