iblrig.raw_data_loaders.load_task_jsonable

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

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

Parameters:
  • - jsonable_file (str) (full path to jsonable file.)

  • - offset (int or None) (The offset to start reading from (default: None).)

Returns:

- tuple

  • trials_table (pandas.DataFrame): A DataFrame with the trial info in the same format as the Session trials table.

  • bpod_data (list): timing data for each trial

Return type:

A tuple containing:

Parameters: