ibllib.io.extractors.habituation_trials
Functions
Extract all datasets from habituationChoiceWorld Note: only the datasets from the HabituationTrials extractor will be saved to disc. |
Classes
- class HabituationTrials(*args, **kwargs)[source]
Bases:
BaseBpodTrialsExtractor
- var_names = ('feedbackType', 'rewardVolume', 'stimOff_times', 'contrastLeft', 'contrastRight', 'feedback_times', 'stimOn_times', 'stimOnTrigger_times', 'intervals', 'goCue_times', 'goCueTrigger_times', 'itiIn_times', 'stimOffTrigger_times', 'stimCenterTrigger_times', 'stimCenter_times', 'position', 'phase')
- extract_all(session_path, save=False, bpod_trials=False, settings=False, task_collection='raw_behavior_data', save_path=None)[source]
Extract all datasets from habituationChoiceWorld Note: only the datasets from the HabituationTrials extractor will be saved to disc.
- Parameters:
session_path – The session path where the raw data are saved
save – If True, the datasets that are considered standard are saved to the session path
bpod_trials – The raw Bpod trial data
settings – The raw Bpod sessions
- Returns:
a dict of datasets and a corresponding list of file names