iblrig.base_choice_world.TrainingChoiceWorldSession
- class iblrig.base_choice_world.TrainingChoiceWorldSession[source]
The TrainingChoiceWorldSession corresponds to the first training protocol of the choice world task. This protocol has a complicated adaptation of the number of contrasts (embodied by the training_phase property) and the reward amount, embodied by the adaptive_reward property.
- TrialDataModel
alias of
TrainingChoiceWorldTrialData
- compute_performance()[source]
Aggregate the trials table to compute the performance of the mouse on each contrast.
- get_subject_training_info()[source]
Get the previous session’s according to this session parameters and deduce the training level, adaptive reward amount and adaptive gain value.
- Returns:
training_info – Dictionary with keys: training_phase, adaptive_reward, adaptive_gain
- Return type:
- property default_reward_amount
- protocol_name = '_iblrig_tasks_trainingChoiceWorld'