iblrig.choiceworld.compute_adaptive_reward_volume
- iblrig.choiceworld.compute_adaptive_reward_volume(subject_weight_g, reward_volume_ul, delivered_volume_ul, ntrials)[source]
If the mouse completed over 200 trials in the previous session, the reward volume is automatically lowered by 0.1 microliters for the next session, but cannot go lower than a floor of 1.5 microliters. If the mouse received less than its minimum required daily dose (~1 milliliter/25 grams of body weight) during the previous session, the reward volume is increased by 0.1 microliters for the next session,
but cannot go above a ceiling of 3 microliters.
- Parameters:
subject_weight_g – in grams
reward_volume_ul – the last reward volume setting in uL
delivered_volume_ul – the cumulative water deliverd during the last session in uL
n_trials
- Returns:
adaptive_reward_ul