ibllib.io.extractors.habituation_trials

Functions

extract_all

Extract all datasets from habituationChoiceWorld Note: only the datasets from the HabituationTrials extractor will be saved to disc.

Classes

HabituationTrials

class HabituationTrials(*args, **kwargs)[source]

Bases: ibllib.io.extractors.base.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')
extract_all(session_path, save=False, bpod_trials=False, settings=False)[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