iblrig.raw_data_loaders.load_task_jsonable

iblrig.raw_data_loaders.load_task_jsonable(jsonable_file, offset=0)[source]

Reads in a task data jsonable file and returns a trials dataframe and a bpod data list.

Parameters:
  • jsonable_file (str or Path) – full path to jsonable file.

  • offset (int, optional) – The offset to start reading from. Defaults to 0.

Returns:

A tuple containing

  • trials_tablepandas.DataFrame

    A DataFrame with the trial info in the same format as the Session trials table.

  • bpod_datalist

    timing data for each trial

Return type:

tuple

Parameters: