ibllib.qc.task_extractors

Classes

TaskQCExtractor

class TaskQCExtractor(session_path, lazy=False, one=None, download_data=False, bpod_only=False)[source]

Bases: object

load_raw_data()[source]

Loads the TTLs, raw task data and task settings :return:

extract_data()[source]

Extracts and loads behaviour data for QC NB: partial extraction when bpod_only attribute is False requires intervals and intervals_bpod to be assigned to the data attribute before calling this function. :return:

static rename_data(data)[source]

Rename the extracted data dict for use with TaskQC Splits ‘feedback_times’ to ‘errorCue_times’ and ‘valveOpen_times’. NB: The data is not copied before making changes :param data: A dict of task data returned by the task extractors :return: the same dict after modifying the keys